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

IMethodBuilder Interface

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

Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface IMethodBuilder : IMethod, IGeneric, IMethodInvoker, IMethodBaseBuilder, IMethodBase, IHasParametersBuilder, IHasParameters, IMemberBuilder, IMember, IMemberOrNamedTypeBuilder, IMemberOrNamedType, INamedDeclaration, IDeclarationBuilder, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable

Properties

Name Description
IsReadOnly
ReturnParameter
ReturnType

Gets or sets the method return type.

Methods

Name Description
AddTypeParameter(String)

Adds a generic parameter to the method.