Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Advised / IAdvised­Method

Interface IAdvisedMethod

Represents the method being overwritten or introduced. This interface extends IMethod but introduces the Invoke(Object[]) method, which allows you to invoke the method. It also overrides the Parameters property to expose their Value property.

Namespace: Metalama.Framework.Code.Advised
Assembly: Metalama.Framework.dll
Syntax
public interface IAdvisedMethod : IMethod, IMethodBase, IHasParameters, IMember, IGeneric, IMemberOrNamedType, INamedDeclaration, IDeclaration, IDisplayable, IDiagnosticLocation, ICompilationElement, IMeasurable

Properties

Name Description
Parameters

Gets the list of method parameters.

Methods

Name Description
Invoke(Object[])

Invokes the method.