Class FieldDefinitionExtensions
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public static class FieldDefinitionExtensions
Methods
AsSelectionFieldDefinition(IFieldDefinition)
Returns the field definition as a ISelectionFieldDefinition.
Declaration
public static ISelectionFieldDefinition AsSelectionFieldDefinition(this IFieldDefinition fieldDefinition)
Parameters
Type | Name | Description |
---|---|---|
IFieldDefinition | fieldDefinition | A field definition. |
Returns
Type | Description |
---|---|
ISelectionFieldDefinition |
Exceptions
Type | Condition |
---|---|
InvalidCastException | If the field definition is not of type Selection |