Show / Hide Table of Contents

Enum Operation

Operations available for Analysis rules.

Namespace: Microsoft.CST.OAT
Assembly: OAT.dll
Syntax
public enum Operation

Fields

Name Description
Contains

Checks if the specified fields values contain all of the data in the Data list or DictData dictionary as appropriate for the field.

ContainsAny

Checks if the specified fields values contain any of the data in the Data list or DictData dictionary as appropriate for the field.

ContainsKey

Checks if the field, if a dictionary, contains the specified key

Custom

Specifies that a custom operation has been specified

EndsWith

Checks if the specified field ends with any of the strings in the Data list.

Equals

Checks that any value in the Data list or DictData dictionary have a match in the specified field's object as appropriate.

GreaterThan

Checks whether any of the specified fields values when parsed as an int is greater than first value in the Data list as Parsed as an int

IsAfter

Checks if the specified field, as parsed as time, is after the time specified in the first entry of the Data list

IsBefore

Checks if the specified field, as parsed as time, is before the time specified in the first entry of the Data list

IsExpired

Checks if the specified field, as parsed as time, is before DateTime.Now.

IsNull

Checks if the specified field is null in both states.

IsTrue

Checks if the specified field is true in either state.

LessThan

Checks whether any of the specified fields values when parsed as an int is less than first value in the Data list as Parsed as an int

NoOperation

Invalid Operation

Regex

Generates regular expressions from the Data list provided and tests them against the specified field. If any match it is a success.

Script

Compiles and runs the provided script.

StartsWith

Checks if the specified field starts with any of the strings in the Data list.

WasModified

Checks if the specified field was modified between the two runs.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX