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

Interface IIndexerBuilder

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

Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface IIndexerBuilder : IPropertyOrIndexerBuilder, IFieldOrPropertyOrIndexerBuilder, IHasTypeBuilder, IIndexer, IPropertyOrIndexer, IFieldOrPropertyOrIndexer, IMemberWithAccessors, IHasType, IHasParametersBuilder, IMemberBuilder, IMemberOrNamedTypeBuilder, IDeclarationBuilder, IHasParameters, IMember, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable

Methods

Name Description
AddParameter(String, IType, RefKind, Nullable<TypedConstant>)

Adds a parameter to the current indexer and specifies its type using an IType.

AddParameter(String, Type, RefKind, Nullable<TypedConstant>)

Adds a parameter to the current indexer and specifies its type using a reflection Type.