Directions of the data flow to which the contract applies.
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[RunTimeOrCompileTime]
public enum ContractDirection
Fields
Name | Description |
---|---|
Both | |
Default | For all parameters except |
Input | Validates the input value of the parameter (before execution of the method) or the value assigned to the field, property or indexer (before the actual assignment). |
None | Means that the contract is disabled. |
Output | Validates the output value of an |