Delegate OperationDelegate
This delegate allows extending the Analyzer with a custom operation.
Namespace: Microsoft.CST.OAT.Operations
Assembly: OAT.dll
Syntax
public delegate OperationResult OperationDelegate(Clause clause, object state1, object state2, IEnumerable<ClauseCapture> captures);
Parameters
Type | Name | Description |
---|---|---|
Clause | clause | The clause being applied |
System.Object | state1 | The first object state |
System.Object | state2 | The second object state |
System.Collections.Generic.IEnumerable<ClauseCapture> | captures | The previously found clause captures |
Returns
Type | Description |
---|---|
OperationResult | (If the Operation delegate applies to the clause, If the operation was successful, if capturing is enabled the ClauseCapture) |