Class AssetTypeSearchCriteria
A simple Asset type search but wrapped in a type.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public sealed class AssetTypeSearchCriteria : SearchCriteria<string>
Properties
SearchKey
The search key for the AssetType.
Declaration
public static string SearchKey { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Clear()
Clears the criteria fields.
Declaration
public override void Clear()
Overrides
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(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(AssetType)
Sets the value of the AssetType criteria.
Declaration
public void WithValue(AssetType assetType)
Parameters
Type | Name | Description |
---|---|---|
AssetType | assetType | The asset type to match. |
WithValue(params AssetType[])
Sets the value of the AssetType criteria.
Declaration
public void WithValue(params AssetType[] assetTypes)
Parameters
Type | Name | Description |
---|---|---|
AssetType[] | assetTypes | The asset types 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. |