MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​Declaration­Builders
Open sandboxFocusImprove this doc

Metalama.Framework.Code.DeclarationBuilders Namespace

This namespace contains the representations of the declarations introduced by advice such as IntroduceMethod or IntroduceProperty from IAdviceFactory. The interfaces defined in this namespace enable you to modify the signatures of the introduced declarations.

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.

IHasParametersBuilder

Represents a builder of method, constructor, or indexer. Overrides the Parameters property to allow using IParameterBuilderList interface.

IHasTypeBuilder

Exposes a settable Type property.

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>).

IParameterBuilderList

Read-only list of IParameterBuilder.

IPropertyBuilder

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

IPropertyOrIndexerBuilder

Base interface for IPropertyBuilder and IIndexerBuilder.

ITypeParameterBuilder