ContractBaseAttribute Class
A base class for all contracts defined in this library.
Inheritance
System.Object
ContractBaseAttribute
Assembly: Metalama.Patterns.Contracts.dll
public abstract class ContractBaseAttribute : ContractAspect, IAspect<IParameter>, IEligible<IParameter>, IAspect<IFieldOrPropertyOrIndexer>, IEligible<IFieldOrPropertyOrIndexer>, IConditionallyInheritableAspect, IAspect, ICompileTimeSerializable, ITemplateProvider
Constructors
Properties
Name |
Description |
Direction
|
Gets or sets the direction of the contract. When this property is not set, its
default value is read from ContractOptions. When no value is defined
in ContractOptions, the default value of this property is Default.
|
IsInheritable
|
Gets or sets a value indicating whether this contract should be inherited to derived types or overriding members.
When this property is not set, its default value is read from ContractOptions. When no value
is defined in ContractOptions, the default value of this property is true .
|
Methods
Explicit Interface Implementations