TagSearchOptions<T> Class
Stores tag search operation options.
public class TagSearchOptions<T> : ITagSearchOptions<T> where T : ITag
- Type Parameters:
-
T
-The tag type.
- Inheritance:
- object object
- Implements:
- ITagSearchOptions<T>
Constructors
TagSearchOptions()
Initializes an instance of the class.
public TagSearchOptions()
Properties
CanWrap
Gets or sets whether the search can wrap at the end of the search text range.
public 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.
public 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.
public bool SearchUp { get; set; }
Property Value
- bool:
true
if searches should be performed backwards; otherwise,false
.