PostSharpAPI ReferencePost­Sharp.​AspectsIComposition­AspectCreate­Implementation­Object
Open sandboxFocus

ICompositionAspect.CreateImplementationObject Method

CreateImplementationObject(AdviceArgs)

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

Declaration
object CreateImplementationObject(AdviceArgs args)
Parameters
Type Name Description
AdviceArgs args
Returns
Type Description
Object

The composed object. This interface should implement the interfaces specified by the PublicInterfaces and 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.