Class TokenDefinitionPropertyComboboxAttribute
Used to mark up combobox properties of token definition types.
Inheritance
TokenDefinitionPropertyComboboxAttribute
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Token
Assembly: Aruba.Infrastructure.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class TokenDefinitionPropertyComboboxAttribute : TokenDefinitionPropertyAttribute
Constructors
View SourceTokenDefinitionPropertyComboboxAttribute(string, string, Type)
Initializes a new instance of the TokenDefinitionPropertyComboboxAttribute class.
Declaration
public TokenDefinitionPropertyComboboxAttribute(string friendlyName, string description, Type allowedValuesGetterType = null)
Parameters
Type | Name | Description |
---|---|---|
string | friendlyName | The friendly name. |
string | description | The description. |
Type | allowedValuesGetterType | The allowed values getter type. |
Properties
View SourceAllowedValuesGetterType
Gets a type that restricts the possible (allowed) values for this property.
Declaration
public Type AllowedValuesGetterType { get; }
Property Value
Type | Description |
---|---|
Type |
Description
Gets a more detailed description than FriendlyName
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string |
FriendlyName
Gets a friendly name, but not necessarily as descriptive as Description
Declaration
public string FriendlyName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceGetAllowedValues()
Get allowed values for a token.
Declaration
public IEnumerable<object> GetAllowedValues()
Returns
Type | Description |
---|---|
IEnumerable<object> | the allowed values. |