Open sandboxFocus

Interface ITypeLevelAspect

Equivalent to IAspect<T> where T is INamedType.

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

Methods

Name Description
RuntimeInitialize(Type)

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

Extension Methods