Class MultiValueMetadata
A class which can be used as a filter for searching for metadatas with multiple string values.
Inherited Members
Namespace: Unity.AssetManager.Editor
Assembly: Unity.AssetManager.Core.Editor.dll
Syntax
[Serializable]
public sealed class MultiValueMetadata : Metadata
Constructors
MultiValueMetadata(IEnumerable<string>)
Creates a new instance of the MultiValueMetadata class.
Declaration
public MultiValueMetadata(IEnumerable<string> values)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | values | For metadata that can have multiple values, this is the list of values to search for. This search values must match all values in the metadata. |
Properties
Values
For metadata that can have multiple values, this is the list of values to search for. This search values must match all values in the metadata.
Declaration
public IEnumerable<string> Values { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
Examples
Given a metadata with values of "selection-A", "selection-B", and "selection-C", the array for search must contain "selection-A", "selection-B", and "selection-C".