MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsType­Level­AspectCompile­Time­Initialize
Open sandboxFocus

TypeLevelAspect.CompileTimeInitialize Method

CompileTimeInitialize(Type, AspectInfo)

In Metalama, aspect initialization is done in BuildAspect(IAspectBuilder<T>).

Declaration
public virtual void CompileTimeInitialize(Type type, AspectInfo aspectInfo)
Parameters
Type Name Description
System.Type type
AspectInfo aspectInfo
Implements
ITypeLevelAspectBuildSemantics.CompileTimeInitialize(Type, AspectInfo)