MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsIType­Level­Aspect
Open sandboxFocus

ITypeLevelAspect Interface

Equivalent to IAspect<T> where T is INamedType.

Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
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).