PostSharpAPI ReferencePost­Sharp.​Aspects.​ConfigurationComposition­Aspect­Configuration
Open sandboxFocus

CompositionAspectConfiguration Class

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

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.

GenerateImplementationAccessor

This property has no effect.

NonSerializedImplementation

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.

OverrideAction

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.

PublicInterfaces

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

See Also