Open sandboxFocus

Interface IMethodLevelAspect

Equivalent to IAspect<T> where T is IMethod.

Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("Equivalent to 'IAspect<T>' where <c>T</c> is 'IMethod'.", false)]
public interface IMethodLevelAspect : IAspect

Methods

Name Description
RuntimeInitialize(MethodBase)

In Metalama, add an initializer from the BuildAspect(IAspectBuilder<IMethod>) method by calling builder.Advice.AddInitializer(INamedType, string, InitializerKind, object?, object?).

Extension Methods