Sansar Docs
Ask or search…
⌃K

AddEntryAttribute

AddEntryAttribute Class

Syntax

[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=true)] public class AddEntryAttribute : Attribute​

Member Details

AddEntryAttribute Constructor

Add an entry to the initial values in the parameter for IList and IDictionary

Syntax

public AddEntryAttribute (object entry)
See Also
Parameters
entry
IDictionary: the key of the entry. IList: the default value of the entry.

Remarks

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 IDictionary

Syntax

public AddEntryAttribute (string key, object value)
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

Requirements

Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0