Metalama 1.0 / / Metalama Documentation / Aspect API Documentation / Metalama.​Framework.​Aspects / Contract­Aspect / Direction

Property Direction

Direction

Gets the direction of the data flow (Input, Output or Both) to which this contract applies.

Declaration
protected ContractDirection Direction { get; }
Property Value
Type Description
ContractDirection
Remarks

It is the responsibility of the author of the aspect, and not of its user, to define the eligible directions of a contract.