This namespace contains the representations of the declarations introduced by advice such as IntroduceMethod or IntroduceProperty from AdviserExtensions. 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 programmatically.
Interfaces
IConstructorBuilder
Allows you to configure a constructor that has been created by the IntroduceConstructor(IAdviser<INamedType>, string, OverrideStrategy, Action<IConstructorBuilder>?, object?, object?) advice.
IDeclarationBuilder
Allows to complete the construction of a declaration that has been created by an advice.
IDelegateBuilder
Allows to complete the construction of a delegate that has been created by the IntroduceDelegate(IAdviser<INamespaceOrNamedType>, string, Action<IDelegateBuilder>, OverrideStrategy) advice.
IEnumBuilder
Allows to complete the construction of an enum that has been created by the IntroduceEnum(IAdviser<INamespaceOrNamedType>, string, Action<IEnumBuilder>, OverrideStrategy) advice.
IEnumMemberBuilder
Allows to add custom attributes to a member of an enum that has been created by one of the AddMember
methods of IEnumBuilder.
IEventBuilder
Allows to complete the construction of an event that has been created by the IntroduceEvent(IAdviser<INamedType>, string, IntroductionScope, OverrideStrategy, Action<IEventBuilder>?, object?) advice.
IExtensionBlockBuilder
Builder for introducing a new extension block. Inherits from INamedTypeBuilder to allow introducing members, but restricts operations that are not valid for extension blocks.
IFieldBuilder
Allows to complete the construction of a field that has been created by the IntroduceField(IAdviser<INamedType>, string, IntroductionScope, OverrideStrategy, Action<IFieldBuilder>?, object?) 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 the IntroduceIndexer(IAdviser<INamedType>, IType, string?, string?, IntroductionScope, OverrideStrategy, Action<IIndexerBuilder>?, object?, object?) 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
Base interface for IMethodBuilder and IConstructorBuilder.
IMethodBuilder
Allows to complete the construction of a method that has been created by the IntroduceMethod(IAdviser<INamedType>, string, IntroductionScope, OverrideStrategy, Action<IMethodBuilder>?, object?, object?) advice.
INamedTypeBuilder
IParameterBuilder
Allows to complete the construction of a parameter that has been created using e.g. AddParameter(string, IType, RefKind, TypedConstant?).
IParameterBuilderList
Read-only list of IParameterBuilder.
IPropertyBuilder
Allows to complete the construction of a property that has been created by the IntroduceProperty(IAdviser<INamedType>, string, IntroductionScope, OverrideStrategy, Action<IPropertyBuilder>?, object?) advice.
IPropertyOrIndexerBuilder
Base interface for IPropertyBuilder and IIndexerBuilder.
IRecordBuilder
Allows to complete the construction of a record that has been created by the IntroduceRecord(IAdviser<INamespaceOrNamedType>, string, RecordKind, OverrideStrategy, Action<IRecordBuilder>?) advice. One interface serves a record class and a record struct.
ITypeParameterBuilder
Allows to complete the construction of a type parameter that has been created by an advice.
IUnionBuilder
Allows to complete the construction of a union that has been created by the IntroduceUnion(IAdviser<INamespaceOrNamedType>, string, Action<IUnionBuilder>, OverrideStrategy) advice.