Open sandboxFocus

Class CompositionAspectConfiguration

Configuration of aspects of type ICompositionAspect.

Inheritance
CompositionAspectConfiguration
Namespace: PostSharp.Aspects.Configuration
Assembly: PostSharp.dll
Syntax
public sealed class CompositionAspectConfiguration : AspectConfiguration

Constructors

Name Description
CompositionAspectConfiguration()

Properties

Name Description
AncestorOverrideAction

Gets or sets the action (Fail or Ignore) to take when an ancestor of one of the interfaces specified by PublicInterfaces is already implemented by the type to which the current aspect is applied.

GenerateImplementationAccessor

This property has no effect.

NonSerializedImplementation

Gets or sets a value indicating 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.

OverrideAction

Gets or sets the action (Fail or Ignore) to take when one of the interfaces specified by PublicInterfaces is already implemented by the type to which the aspect is applied.

PublicInterfaces

Gets or sets the array of interfaces that should be introduced publicly into the target type of the aspect.

See Also