PostSharpAPI ReferencePost­Sharp.​AspectsIComposition­Aspect
Open sandboxFocus

Interface ICompositionAspect

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
public interface ICompositionAspect : ITypeLevelAspect, IAspect


Name Description

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