AspectWeaverInstance.Validate Method |
Validates the aspect use in itself, without regard to other aspects.
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public virtual bool Validate()
Return Value
Type: Booleantrue if the aspect is used correctly, otherwise false.
Implementations should write messages using aMessageSource,
then return true. If false is returned, the aspect is
not further processed (for instance, the IAspectProvider
interface is not used).