Table of Contents

Interface ISearchingAll<T>

Namespace
SunamoInterfaces.Interfaces
Assembly
SunamoInterfaces.dll

Interface for searching operations on collections. If you want to apply something to all elements of type T, use this.

public interface ISearchingAll<T>

Type Parameters

T

The type of elements to search.

Extension Methods

Methods

Names()

Gets names of all items for easy retrieval and evaluation.

List<string> Names()

Returns

List<string>

List of names.

PasswordKeys()

Gets all password keys.

List<T> PasswordKeys()

Returns

List<T>

List of password keys.

Search(string)

Searches for items matching the search term.

List<T> Search(string searchTerm)

Parameters

searchTerm string

The search term.

Returns

List<T>

List of matching items.

ValidateAll()

Validates that everything is initialized correctly (checks for nulls).

void ValidateAll()