This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
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 (in PostSharp.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public interface ICompositionAspect : ITypeLevelAspect, 
	IAspect

The ICompositionAspect type exposes the following members.

Methods
  NameDescription
Public methodCreateImplementationObject
Method invoked at runtime, during the initialization of instances of the target type, to create the composed object.
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from ITypeLevelAspect.)
Top
Remarks
See CompositionAspect for details.
See Also