AspectConfigurationAttribute.CreateAspectConfiguration Method |
Creates a concrete AspectConfiguration instance specifically for the current
AspectConfigurationAttribute type.
Namespace: PostSharp.Aspects.Configuration
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected virtual AspectConfiguration CreateAspectConfiguration()
Return Value
Type: AspectConfigurationA new and empty instance of AspectConfiguration, whose concrete type corresponds to the concrete type of the AspectConfigurationAttribute.
This method should not set up the returned AspectConfiguration. After the current method has
returned, the SetAspectConfiguration(AspectConfiguration) method will be invoked, and this method is responsible
for setting up the AspectConfigurationobject.