Class StringSearchCriteria
Exposes partial string searches.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public class StringSearchCriteria : SearchCriteria<string>
Methods
Clear()
Clears the criteria fields.
Declaration
public override void Clear()
Overrides
WithFuzzyValue(string)
Sets the fuzzy value of the string search term.
Declaration
[Obsolete("Use WithValue(StringPredicate) instead.")]
public void WithFuzzyValue(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The approximate string to match. |
WithValue(string)
Sets the value of the search criteria.
Declaration
public override void WithValue(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The expected value of the field. |
Overrides
WithValue(string, SearchOptions)
Sets the value of the string search term.
Declaration
[Obsolete("Use WithValue(StringPredicate) instead.")]
public void WithValue(string value, StringSearchCriteria.SearchOptions options)
Parameters
Type | Name | Description |
---|---|---|
string | value | The string to match. |
StringSearchCriteria.SearchOptions | options | The additional options. |
WithValue(Regex)
Sets the pattern of the string search term.
Declaration
public void WithValue(Regex pattern)
Parameters
Type | Name | Description |
---|---|---|
Regex | pattern | The string pattern to match. |
WithValue(StringPredicate)
Sets the predicate criteria for the string search term.
Declaration
public void WithValue(StringPredicate stringPredicate)
Parameters
Type | Name | Description |
---|---|---|
StringPredicate | stringPredicate | The string predicate to match. |