CompositionAspectConfigurationAttribute Class |
System.Attribute
PostSharp.Aspects.Configuration.AspectConfigurationAttribute
PostSharp.Aspects.Configuration.CompositionAspectConfigurationAttribute
Namespace: PostSharp.Aspects.Configuration
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class CompositionAspectConfigurationAttribute : AspectConfigurationAttribute
The CompositionAspectConfigurationAttribute type exposes the following members.
Name | Description | |
---|---|---|
CompositionAspectConfigurationAttribute | Initializes a new instance of the CompositionAspectConfigurationAttribute class |
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.
| |
AspectPriority |
Gets or sets the weaving priority of the aspect.
(Inherited from AspectConfigurationAttribute.) | |
GenerateImplementationAccessor | Obsolete.
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 or ProtectedInterfaces
is already implemented by the type to which the aspect is applied.
| |
ProtectedInterfaces |
Gets or sets the array of type names of interfaces to be introduced indirectly into the target type of the aspect.
| |
PublicInterfaces |
Gets or sets the array of type names of interfaces that should be introduced publicly into
the target type of the aspect.
| |
SerializerType |
Gets or sets the Type of the serializer that will be used
to configure the current aspect.
(Inherited from AspectConfigurationAttribute.) |
Name | Description | |
---|---|---|
GetAspectConfiguration |
Gets the AspectConfiguration corresponding to the current custom attribute.
(Inherited from AspectConfigurationAttribute.) |