Metalama//API Documentation/Aspect API/Metalama.​Framework.​Aspects/Contract­Aspect/Contract­Aspect
Open sandboxFocus

Constructor ContractAspect

ContractAspect(ContractDirection)

Initializes a new instance of the ContractAspect class.

Declaration
protected ContractAspect(ContractDirection direction)
Parameters
Type Name Description
ContractDirection direction

The direction of the data flow (Input, Output or Both) to which this contract applies. See the ContractDirection for details.