Class Clause
Clauses contain an Operation and associated data
Inheritance
System.Object
Clause
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.CST.OAT
Assembly: OAT.dll
Syntax
public class Clause
Constructors
| Improve this Doc View SourceClause(Operation, String)
Create a Clause
Declaration
public Clause(Operation operation, string field = null)
Parameters
Type | Name | Description |
---|---|---|
Operation | operation | The Operation to Perform |
System.String | field | Optionally, the path to the field to operate on |
Properties
| Improve this Doc View SourceArguments
Some Operations also take arguments
Declaration
public List<string> Arguments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Capture
When calling Capture functionality if the result of this clause should be Captured
Declaration
public bool Capture { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CustomOperation
A string indicating what custom operation should be performed, if Operation is CUSTOM
Declaration
public string CustomOperation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Data
A list of strings passed to the operation
Declaration
public List<string> Data { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
DictData
A dictionary of strings passed to the operation
Declaration
public List<KeyValuePair<string, string>> DictData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
Field
Which field or property of the Target should this Clause apply to?
null is wildcard
Declaration
public string Field { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Invert
If the result of the Operation should be inverted
Declaration
public bool Invert { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Label
The Label used for the boolean Expression in the Rule containing this Clause
May be null iff Expression is null
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Operation
The Operation to perform
Declaration
public Operation Operation { get; set; }
Property Value
Type | Description |
---|---|
Operation |
Script
An optional lambda expression to execute
Declaration
public ScriptData Script { get; set; }
Property Value
Type | Description |
---|---|
ScriptData |