Class CIMExpressionInfo
Represents the properties required for authoring an Arcade expression.
public class CIMExpressionInfo : CIMObject
- Inheritance
-
CIMExpressionInfo
- Inherited Members
Constructors
CIMExpressionInfo()
public CIMExpressionInfo()
Properties
Expression
Gets or sets the Arcade expression used to evaluate and return the value that a property expects.
public string Expression { get; set; }
Property Value
Name
Gets or sets the name of the expression.
public string Name { get; set; }
Property Value
ReturnType
Gets or sets the return type of the expression.
public ExpressionReturnType ReturnType { get; set; }
Property Value
Title
Gets or sets the human readable text that describes the expression.
public string Title { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMExpressionInfo with a specified state from a JSON encoding.
public static CIMExpressionInfo FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMExpressionInfo state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMExpressionInfo and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.