AssemblyLevelAspectWeaver.ValidateAspectInstance Method |
Validates an aspect instance, i.e. a concrete usage of an aspect of the type supported by the current AspectWeaver.
Namespace: PostSharp.Sdk.AspectWeaver.AspectWeavers
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public override bool ValidateAspectInstance( AspectInstanceInfo aspectInstanceInfo )
Parameters
- aspectInstanceInfo
- Type: PostSharp.Sdk.AspectWeaver.AspectInstanceInfo
Information about the aspect instance (or aspect usage).
Return Value
Type: Booleantrue if the aspect usage is valid, false if it is invalid