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
TThe type of elements to search.
- Extension Methods
Methods
Names()
Gets names of all items for easy retrieval and evaluation.
List<string> Names()
Returns
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
searchTermstringThe search term.
Returns
- List<T>
List of matching items.
ValidateAll()
Validates that everything is initialized correctly (checks for nulls).
void ValidateAll()