Struct Groupable
Defines a parameter that can be used to group assets.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public readonly struct Groupable
Methods
From(GroupableField)
Returns a new grouping parameter for a GroupableField.
Declaration
public static Groupable From(GroupableField field)
Parameters
Type | Name | Description |
---|---|---|
GroupableField | field |
Returns
Type | Description |
---|---|
Groupable | A Groupable. |
FromMetadata(MetadataOwner, string)
Returns a new grouping parameter for a metadata field.
Declaration
public static Groupable FromMetadata(MetadataOwner metadataOwner, string metadatafieldKey)
Parameters
Type | Name | Description |
---|---|---|
MetadataOwner | metadataOwner | The entity to target. |
string | metadatafieldKey | A key for a metadata field. |
Returns
Type | Description |
---|---|
Groupable | A Groupable. |
FromSystemMetadata(MetadataOwner, string)
Returns a new grouping parameter for a system metadata field.
Declaration
public static Groupable FromSystemMetadata(MetadataOwner metadataOwner, string systemMetadatafieldKey)
Parameters
Type | Name | Description |
---|---|---|
MetadataOwner | metadataOwner | The entity to target. |
string | systemMetadatafieldKey | A key for a system metadata field. |
Returns
Type | Description |
---|---|
Groupable | A Groupable. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Operators
implicit operator Groupable(GroupableField)
Implicit conversion from GroupableField to Groupable.
Declaration
public static implicit operator Groupable(GroupableField groupableField)
Parameters
Type | Name | Description |
---|---|---|
GroupableField | groupableField |
Returns
Type | Description |
---|---|
Groupable | A Groupable. |