Struct MetadataPathCollection
Represents a strongly typed collection of strings. Provides methods to enumerate the paths in the collection.
Inherited Members
Namespace: Unity.Cloud.DataStreaming.Metadata
Assembly: Unity.Cloud.DataStreaming.Runtime.dll
Syntax
public readonly struct MetadataPathCollection : IEnumerable<string>, IEnumerable
Remarks
Allow to limit the returned Properties to a specific set of keys with Select(MetadataPathCollection).
Constructors
MetadataPathCollection(IEnumerable<string>)
Constructor with the set of strings.
Declaration
public MetadataPathCollection(IEnumerable<string> paths)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | paths | Properties paths. |
MetadataPathCollection(params string[])
Constructor with the set of strings.
Declaration
public MetadataPathCollection(params string[] paths)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | paths | Properties paths. |
Properties
All
If given to Select(MetadataPathCollection), the query will return all the fields path available in the dataset.
Declaration
public static MetadataPathCollection All { get; }
Property Value
| Type | Description |
|---|---|
| MetadataPathCollection |
None
If given to Select(MetadataPathCollection), the query will return no fields path in the Properties, only the Id and its other fields will be returned.
Declaration
public static MetadataPathCollection None { get; }
Property Value
| Type | Description |
|---|---|
| MetadataPathCollection |
Methods
GetEnumerator()
Declaration
public IEnumerator<string> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<string> |