Argument

An argument exists inside trait references and provides name/value pairs for a trait reference. With arguments traits can contain data.

public class CdmArgumentDefinition extends CdmObjectSimple

Constructors

Name Description
CdmArgumentDefinition(CdmCorpusContext, string)
ctx: The corpus context.
name: The argument's name.
Initializes a new instance of the CdmArgumentDefinition class.

Properties

Name Type Description
Name string The argument's name.
Value dynamic The argument's value.
Explanation string The argument's explanation.

Methods

Name Description Return Type
Copy(ResolveOptions, CdmObject) See CdmObject.Copy(...). CdmObject
Validate() See CdmObject.Validate(). bool