Carries an attribute intended for a named field of a dictionary entry (its Key or Value). This is a plain attribute, not a Unity property attribute, so it registers no drawer and can safely sit on the dictionary field without hijacking the entry drawer; the entry drawer materializes the wrapped attribute via CreateAttribute and applies it to the targeted Key/Value.
More...
Inherits Attribute.
|
| object[] | Arguments [get] |
| | Constructor arguments for the wrapped attribute. More...
|
| |
| Type | AttributeType [get] |
| | Type of the attribute to apply to the entry field. More...
|
| |
| string | Field [get] |
| | Name of the entry field the wrapped attribute applies to. More...
|
| |
Carries an attribute intended for a named field of a dictionary entry (its Key or Value). This is a plain attribute, not a Unity property attribute, so it registers no drawer and can safely sit on the dictionary field without hijacking the entry drawer; the entry drawer materializes the wrapped attribute via CreateAttribute and applies it to the targeted Key/Value.
◆ DictionaryFieldAttribute()
| Quantum.DictionaryFieldAttribute.DictionaryFieldAttribute |
( |
string |
field, |
|
|
Type |
attributeType, |
|
|
params object[] |
arguments |
|
) |
| |
|
inline |
Initializes a new instance of the DictionaryFieldAttribute class.
- Parameters
-
| field | Name of the entry field the wrapped attribute applies to (Key or Value). |
| attributeType | Type of the attribute to apply to the entry field. |
| arguments | Constructor arguments for the wrapped attribute. |
◆ CreateAttribute()
| Attribute Quantum.DictionaryFieldAttribute.CreateAttribute |
( |
| ) |
|
◆ Field
| string Quantum.DictionaryFieldAttribute.Field |
|
get |
Name of the entry field the wrapped attribute applies to.
◆ AttributeType
| Type Quantum.DictionaryFieldAttribute.AttributeType |
|
get |
Type of the attribute to apply to the entry field.
◆ Arguments
| object [] Quantum.DictionaryFieldAttribute.Arguments |
|
get |
Constructor arguments for the wrapped attribute.