Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

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.

Extension Methods

  • Navigation