MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​Declaration­BuildersIIndexer­Builder
Open sandboxFocus

IIndexerBuilder Interface

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, IHasAccessors, IHasType, IIndexerInvoker, 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 System.Type.