MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsIType­Level­Aspect­Build­SemanticsCompile­Time­Initialize
Open sandboxFocus

ITypeLevelAspectBuildSemantics.CompileTimeInitialize Method

CompileTimeInitialize(Type, AspectInfo)

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

Declaration
void CompileTimeInitialize(Type type, AspectInfo aspectInfo)
Parameters
Type Name Description
System.Type type
AspectInfo aspectInfo