This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

ICompositionAspect.CreateImplementationObject Method

Method invoked at runtime, during the initialization of instances of the target type, to create the composed object.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
Object CreateImplementationObject(
	AdviceArgs args
)

Parameters

args
Type: PostSharp.Aspects.AdviceArgs

Return Value

Type: Object
The composed object. This interface should implement the interfaces specified by the PublicInterfaces and [!:CompositionAspectConfiguration.ProtectedInterfaces] collections.
Remarks
This method is invoked during at runtime after the base constructor has executed, and before the constructor of the current type is executed.
See Also