AspectWeaver.ValidateAspectInstance Method |
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public virtual 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