Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Advising / IAdd­Contract­Advice­Result<T>

Interface IAddContractAdviceResult<T>

Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
public interface IAddContractAdviceResult<out T> : IAdviceResult where T : IDeclaration
Type Parameters
Name Description
T

IParameter or IPropertyOrIndexer.

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.