Metalama 1.0 / / Metalama Documentation / Aspect API Documentation / Metalama.​Framework.​Code.​Declaration­Builders

Namespace Metalama.Framework.Code.DeclarationBuilders

This namespace contains the representation of the declarations introduced by advice like IntroduceMethod or IntroduceProperty of IAdviceFactory. The interfaces defined here allow you to modify the signature of the introduced declaration.

Classes

AttributeConstruction

Encapsulates the information necessary to create a custom attribute.

Interfaces

IDeclarationBuilder

Allows to complete the construction of a declaration that has been created by an advice.

IEventBuilder

Allows to complete the construction of an event that has been created by an advice.

IFieldBuilder

Allows to complete the construction of a field that has been created by an advice.

IFieldOrPropertyBuilder

Base interface for IFieldBuilder and IPropertyBuilder.

IFieldOrPropertyOrIndexerBuilder

Base interface for IFieldBuilder, IPropertyBuilder and IIndexerBuilder.

IIndexerBuilder

Allows to complete the construction of an indexer that has been created by an advice.

IMemberBuilder

Allows to complete the construction of a member (but not a named type) that has been created by an advice.

IMemberOrNamedTypeBuilder

Allows to complete the construction of a member or named type that has been created by an advice.

IMethodBaseBuilder

IMethodBuilder

Allows to complete the construction of a method that has been created by an advice.

IParameterBuilder

Allows to complete the construction of a parameter that has been created using e.g. AddParameter(String, IType, RefKind, Nullable<TypedConstant>).

IPropertyBuilder

Allows to complete the construction of a property that has been created by an advice.

IPropertyOrIndexerBuilder

Base interface for IPropertyBuilder and IIndexerBuilder.

ITypeParameterBuilder