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: 2023.0.3.0 (2023.0.3.0)
C#
public interface ICompositionAspect : ITypeLevelAspect, IAspect
The ICompositionAspect type exposes the following members.
Name | Description | |
---|---|---|
CreateImplementationObject |
Method invoked at runtime, during the initialization of instances of the target type,
to create the composed object.
| |
RuntimeInitialize |
Initializes the current aspect.
(Inherited from ITypeLevelAspect.) |
See CompositionAspect for details.