Click or drag to resize

AsyncSearcherTSearch Class

Uses reflection to search a collection of items for a given search string.
Inheritance Hierarchy
SystemObject
  GSF.SearchingAsyncSearcherTSearch

Namespace: GSF.Searching
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public class AsyncSearcher<TSearch>
View Source

Type Parameters

TSearch
The type of the objects to be searched.

The AsyncSearcherTSearch type exposes the following members.

Constructors
 NameDescription
Public methodAsyncSearcherTSearch Creates a new instance of the AsyncSearcherTSearch class.
Top
Properties
 NameDescription
Public propertyIgnoreCase Gets or sets the flag that determines whether to ignore case when running the search.
Public propertySearchCategories Gets the names of the properties to which the search string will be applied.
Public propertySearching Gets the flag that indicates whether the AsyncSearcherTSearch is in the middle of a search operation.
Public propertySearchText Gets or sets the text to be searched for.
Public propertyUseRegex Gets or sets the flag that determines whether to process the search tokens as regular expressions.
Public propertyUseWildcards Gets or sets the flag that determines whether to process *, ?, and - characters as wildcards.
Top
Methods
 NameDescription
Public methodAdd Adds a collection of items to the search.
Public methodCancel Cancels currently running searches.
Public methodClear Clears the queue of items to search.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventMatchesFound Event triggered when the searcher finds a match.
Public eventSearchComplete Event triggered when the searcher has finished searching all the items in its queue.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also