Verifies that the attribute is being used correctly.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
protected virtual void Validate( IPatternScope scope, IMethodInfo method ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Sub Validate ( _ scope As IPatternScope, _ method As IMethodInfo _ ) |
Parameters
- scope
- Type: Gallio.Framework.Pattern..::.IPatternScope
The scope.
- method
- Type: Gallio.Common.Reflection..::.IMethodInfo
The method.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Pattern..::.PatternUsageErrorException | Thrown if the attribute is being used incorrectly. |
