In This Article

ITagSearchOptions<T> Interface

Provides the base requirements for a class that stores tag search operation options.

public interface ITagSearchOptions<T> where T : ITag
Type Parameters:
T -

The tag type.

Properties

CanWrap

Gets or sets whether the search can wrap at the end of the search text range.

bool CanWrap { get; set; }

Property Value

bool:

true if the search can wrap at the end of the search text range; otherwise, false.

Filter

Gets or sets the optional callback used to determine if a potential search result is valid.

Predicate<TagVersionRange<T>> Filter { get; set; }

Property Value

Predicate<TagVersionRange<T>>:

The optional callback used to determine if a potential search result is valid.

SearchUp

Gets or sets whether to search backwards.

bool SearchUp { get; set; }

Property Value

bool:

true if searches should be performed backwards; otherwise, false.