PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Advice­Weaver Class / Advice­Weaver Methods / Advice­Weaver.​Validate­Advice Method

AdviceWeaver.ValidateAdvice Method

Validates an advice annotation.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public virtual bool ValidateAdvice(
	AdviceInfo adviceInfo
)

Parameters

adviceInfo
Type: PostSharp.Sdk.AspectWeaver.AdviceInfo

[Missing <param name="adviceInfo"/> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceWeaver.ValidateAdvice(PostSharp.Sdk.AspectWeaver.AdviceInfo)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.AspectWeaver.AdviceWeaver.ValidateAdvice(PostSharp.Sdk.AspectWeaver.AdviceInfo)"]

See Also