Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Recordable­Attribute Class / Recordable­Attribute Methods / Recordable­Attribute.​Compile­Time­Initialize Method

RecordableAttribute.CompileTimeInitialize Method

Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.39.0 (5.0.39.0)
Syntax
C#
public override void CompileTimeInitialize(
	Type type,
	AspectInfo aspectInfo
)

Parameters

type
Type: System.Type
Type to which the current aspect is applied
aspectInfo
Type: PostSharp.Aspects.AspectInfo
Reserved for future usage.

Implements

ITypeLevelAspectBuildSemantics.CompileTimeInitialize(Type, AspectInfo)
See Also