AddEntryAttribute

AddEntryAttribute Class

Syntax

[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple=true)] public class AddEntryAttribute : Attributearrow-up-right

Member Details

AddEntryAttribute Constructor

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

Syntax

public AddEntryAttribute (objectarrow-up-right 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 (stringarrow-up-right key, objectarrow-up-right 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



Last updated