Show / Hide Table of Contents

Class OatOperation

A Class Representing a complete implemented operation including its Operation and Validation delegates

Inheritance
System.Object
OatOperation
ContainsAnyOperation
ContainsKeyOperation
ContainsOperation
EndsWithOperation
EqualsOperation
GreaterThanOperation
IsAfterOperation
IsBeforeOperation
IsExpiredOperation
IsNullOperation
IsTrueOperation
LessThanOperation
NoOperation
RegexOperation
ScriptsDisabledOperation
StartsWithOperation
WasModifiedOperation
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.Operations
Assembly: OAT.dll
Syntax
public class OatOperation

Constructors

| Improve this Doc View Source

OatOperation(Operation)

Simplest constructor without analyzer context

Declaration
public OatOperation(Operation operation)
Parameters
Type Name Description
Operation operation

The Operation this implements

| Improve this Doc View Source

OatOperation(Operation, Analyzer)

Simple constructor

Declaration
public OatOperation(Operation operation, Analyzer analyzer)
Parameters
Type Name Description
Operation operation

The operation this implements

Analyzer analyzer

The analyzer context

| Improve this Doc View Source

OatOperation(Operation, OperationDelegate, ValidationDelegate, Analyzer, String)

The fully specified constructor

Declaration
public OatOperation(Operation operation, OperationDelegate operationDelegate, ValidationDelegate validationDelegate, Analyzer analyzer, string customOperation = null)
Parameters
Type Name Description
Operation operation

The Operation this implements

OperationDelegate operationDelegate

The Operation Delegate

ValidationDelegate validationDelegate

The Validation Delegate

Analyzer analyzer

The Analyzer Context

System.String customOperation

The CustomOperation to use if operation is Custom

Properties

| Improve this Doc View Source

Analyzer

The analyzer context

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

CustomOperation

The CustomOperation name if Operation is Custom

Declaration
public string CustomOperation { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Operation

The Operation implemented

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

OperationDelegate

The operation delegate

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

ValidationDelegate

The validation delegate

Declaration
public ValidationDelegate ValidationDelegate { get; set; }
Property Value
Type Description
ValidationDelegate

Methods

| Improve this Doc View Source

NopOperation(Clause, Object, Object, IEnumerable<ClauseCapture>)

Returns false.

Declaration
public static OperationResult NopOperation(Clause clause, object state1, object state2, IEnumerable<ClauseCapture> captures)
Parameters
Type Name Description
Clause clause
System.Object state1
System.Object state2
System.Collections.Generic.IEnumerable<ClauseCapture> captures
Returns
Type Description
OperationResult
| Improve this Doc View Source

UndefinedValidation(Rule, Clause)

Yields one violation.

Declaration
public static IEnumerable<Violation> UndefinedValidation(Rule rule, Clause clause)
Parameters
Type Name Description
Rule rule
Clause clause
Returns
Type Description
System.Collections.Generic.IEnumerable<Violation>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX