Class Filter<TTarget>
Inheritance
Filter<TTarget>
Namespace: Ludiq
Syntax
public class Filter<TTarget> : IFilter where TTarget : class
Type Parameters
Constructors
Filter(TTarget)
Declaration
public Filter(TTarget target)
Parameters
| Type |
Name |
Description |
| TTarget |
target |
|
Properties
haystacks
Declaration
protected virtual IEnumerable<string> haystacks { get; }
Property Value
target
Declaration
public TTarget target { get; }
Property Value
typeLabels
Declaration
protected virtual IEnumerable<string> typeLabels { get; }
Property Value
Methods
GetReferenceTag()
Declaration
public virtual SearchTag? GetReferenceTag()
Returns
Implements
IgnoreCaseEquals(String, String)
Declaration
protected bool IgnoreCaseEquals(string a, string b)
Parameters
Returns
Matches(SearchQuery)
Declaration
public virtual bool Matches(SearchQuery query)
Parameters
Returns
Implements
MatchesCodeReference(String)
Declaration
protected virtual bool MatchesCodeReference(string codeReference)
Parameters
| Type |
Name |
Description |
| String |
codeReference |
|
Returns
MatchesReference(Guid)
Declaration
protected virtual bool MatchesReference(Guid guid)
Parameters
| Type |
Name |
Description |
| Guid |
guid |
|
Returns
MatchesTag(SearchTag)
Declaration
public virtual bool MatchesTag(SearchTag tag)
Parameters
Returns
MatchesType(String)
Declaration
protected virtual bool MatchesType(string type)
Parameters
| Type |
Name |
Description |
| String |
type |
|
Returns
MatchesWords(String)
Declaration
public bool MatchesWords(string words)
Parameters
| Type |
Name |
Description |
| String |
words |
|
Returns
Extension Methods