Open sandboxFocus

Interface IMethodBuilder

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, IEquatable<IDeclaration>

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.

Extension Methods