Show / Hide Table of Contents

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 Source

Clause(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 Source

Arguments

Some Operations also take arguments

Declaration
public List<string> Arguments { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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>
| Improve this Doc View Source

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>>
| Improve this Doc View Source

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
| Improve this Doc View Source

Invert

If the result of the Operation should be inverted

Declaration
public bool Invert { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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
| Improve this Doc View Source

Operation

The Operation to perform

Declaration
public Operation Operation { get; set; }
Property Value
Type Description
Operation
| Improve this Doc View Source

Script

An optional lambda expression to execute

Declaration
public ScriptData Script { get; set; }
Property Value
Type Description
ScriptData
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX