PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Xaml Namespace/Command­Attribute Class/Command­Attribute Methods/Command­Attribute.​Compile­Time­Initialize Method

CommandAttribute.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.Xaml
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public override void CompileTimeInitialize(
	LocationInfo targetLocation,
	AspectInfo aspectInfo
)

Parameters

targetLocation
Type: PostSharp.Reflection.LocationInfo
Location to which the current aspect is applied
aspectInfo
Type: PostSharp.Aspects.AspectInfo
Reserved for future usage.

Implements

ILocationLevelAspectBuildSemantics.CompileTimeInitialize(LocationInfo, AspectInfo)
See Also