PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Configuration Namespace/Composition­Aspect­Configuration Class

CompositionAspectConfiguration Class

Configuration of aspects of type ICompositionAspect.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.Configuration.AspectConfiguration
    PostSharp.Aspects.Configuration.CompositionAspectConfiguration

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public sealed class CompositionAspectConfiguration : AspectConfiguration

The CompositionAspectConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodCompositionAspectConfiguration
Initializes a new instance of the CompositionAspectConfiguration class
Properties
  NameDescription
Public propertyAncestorOverrideAction
Specifies the action (Fail or Ignore) to be overtaken when an ancestor of one of the interfaces specified by PublicInterfaces is already implemented by the type to which the current aspect is applied.
Public propertyAspectPriority
Gets or sets the aspect priority. Aspects with smaller priority are processed first. The default priority is zero.
(Inherited from AspectConfiguration.)
Public propertyDependencies
Gets or sets the collection of dependencies.
(Inherited from AspectConfiguration.)
Public propertyGenerateImplementationAccessor
Determines whether the interface [!:IComposed<T>] should be introduced into the type to which the aspect is applied for each interface specified by the PublicInterfaces property.
Public propertyNonSerializedImplementation
Determines whether the field containing the interface implementation (and storing the object returned by CreateImplementationObject(AdviceArgs)) should be excluded from serialization by BinaryFormatter. The same effect is typically obtained by applying the NonSerializedAttribute custom attribute to the field.
Public propertyOverrideAction
Specifies the action (Fail or Ignore) to be overtaken when one of the interfaces specified by PublicInterfaces is already implemented by the type to which the aspect is applied.
Public propertyPublicInterfaces
Gets or sets the array of interfaces that should be introduced publicly into the target type of the aspect.
Public propertySerializerType
Gets or sets the type of the serializer that will be used to configure the current aspect.
(Inherited from AspectConfiguration.)
Public propertyUnsupportedTargetAction
Specifies the action to take when the aspect is applied to an unsupported target element.
(Inherited from AspectConfiguration.)
See Also