Search

Search(List<SearchOptions>)

Searches for signatures in a document by SearchOptions list.

public SearchResult Search(List<SearchOptions> searchOptionsList)
Parameter Type Description
searchOptionsList List`1 The search options collection.

Return Value

Returns instance of SearchResult with list of found Signatures.

Remarks

Learn more

See Also


Search(List<SearchOptions>, Func<BaseSignature, bool>)

Searches for signatures in the document using the provided search options and filters the results based on the specified predicate.

public SearchResult Search(List<SearchOptions> searchOptionsList, 
    Func<BaseSignature, bool> predicate)
Parameter Type Description
searchOptionsList List`1 A list of SearchOptions instances defining the criteria for searching signatures.
predicate Func`2 The filter predicate to apply on the list of found signatures.

Return Value

Returns a SearchResult containing the signatures that match the specified search options and satisfy the predicate.

Remarks

Learn more

See Also


Search<T>(SearchOptions)

Searches for signatures in a document by SearchOptions options.

public List<T> Search<T>(SearchOptions searchOptions)
    where T : BaseSignature
Parameter Type Description
searchOptions SearchOptions The search options.

Return Value

Returns the list of signatures found.

Remarks

Learn more

See Also


Search<T>(SearchOptions, Func<T, bool>)

Searches for signatures in the document using the provided search options and filters the results based on the specified predicate.

public List<T> Search<T>(SearchOptions searchOptions, Func<T, bool> predicate)
    where T : BaseSignature
Parameter Description
T The type of signature being searched for, derived from BaseSignature.
searchOptions The search options specifying the criteria for locating signatures.
predicate The filter predicate to apply on the list of found signatures. If null, no additional filtering is applied.

Return Value

Returns a list of T instances that match the search options and satisfy the predicate.

Remarks

Learn more

See Also


Search<T>(SignatureType)

Searches for exact type of signatures in the document by SignatureType value.

public List<T> Search<T>(SignatureType signatureType)
    where T : BaseSignature
Parameter Type Description
signatureType SignatureType The type of signatures to search.

Return Value

Returns the list of found signatures with exact type.

Remarks

Learn more

See Also


Searches for specified signature types in the document by SignatureType value.

public SearchResult Search(params SignatureType[] signatureTypes)
Parameter Type Description
signatureTypes SignatureType[] One or several types of signatures to find.

Return Value

Returns instance of SearchResult with list of found signatures.

Remarks

Learn more

See Also


Search(Func<BaseSignature, bool>)

Searches for signatures in the document using all available search options and filters the results based on the specified predicate.

public List<BaseSignature> Search(Func<BaseSignature, bool> predicate)
Parameter Type Description
predicate Func`2 The filter predicate to apply on the list of found signatures. Cannot be null.

Return Value

Returns a list of BaseSignature instances that satisfy the provided predicate.

Exceptions

exception condition
ArgumentNullException Thrown when the predicate is null.

Remarks

Learn more

See Also