AddEntryAttribute Class
A
Syntax
[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=true)]
public class AddEntryAttribute : Attribute
public class AddEntryAttribute : Attribute
See Also
Remarks
Documentation for this section has not yet been entered.
Requirements
Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
Members
See Also: Inherited members from Attribute.
Public Constructors
|
Add an entry to the initial values in the parameter for IList and IDictionary | |
|
Add an entry to the initial values in the parameter for IList and IDictionary |
Member Details
AddEntryAttribute Constructor
Add an entry to the initial values in the parameter for IList and IDictionarySyntax
public AddEntryAttribute (object entry)See Also
Parameters
- entry
- IDictionary: the key of the entry. IList: the default value of the entry.
Remarks
For IDictionary sets the key only, with no default value. For IList sets the default value of the entry. Has no effect for other parameter types.Requirements
Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
AddEntryAttribute Constructor
Add an entry to the initial values in the parameter for IList and IDictionarySyntax
See Also
Parameters
- key
- IDictionary: the key of the entry. IList: the default value.
- value
- IDictionary: the default value of the entry. IList: ignored
Remarks
For IDictionary sets both a key and a default value for that key. For IList the value is ignored. Has no effect for other parameter types. Can be used multiple times to add multiple entries for IDictionaryRequirements
Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0
0 Comments