Verifies that the attribute is being used correctly.

Namespace:  Gallio.Framework.Pattern
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
protected virtual void Validate(
	IPatternScope scope,
	ICodeElementInfo codeElement
)
Visual Basic (Declaration)
Protected Overridable Sub Validate ( _
	scope As IPatternScope, _
	codeElement As ICodeElementInfo _
)

Parameters

scope
Type: Gallio.Framework.Pattern..::.IPatternScope
The scope.
codeElement
Type: Gallio.Common.Reflection..::.ICodeElementInfo
The code element.

Exceptions

ExceptionCondition
Gallio.Framework.Pattern..::.PatternUsageErrorExceptionThrown if the attribute is being used incorrectly.

See Also