PostSharp.ILAPI ReferencePost­Sharp.​AspectsIComposition­Aspect
Open sandboxFocus

ICompositionAspect Interface

Defines the semantics of an aspect that, when applied on a type, introduce one or many new interfaces into that type, and let these interfaces be implemented by an object created at runtime.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public interface ICompositionAspect : ITypeLevelAspect, IAspect

Methods

Name Description
CreateImplementationObject(AdviceArgs)

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