Represents the result of the AddContract(IParameter, string, ContractDirection, object?, object?) method.
Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
public interface IAddContractAdviceResult<out T> : IAdviceResult where T : IDeclaration
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Description |
---|---|
Declaration | Gets the declaration to which the contract was added. When the contracted is added to a field, returns the IProperty that the field has been transformed into. |