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 containingScope, ITypeInfo type ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Sub Validate ( _ containingScope As IPatternScope, _ type As ITypeInfo _ ) |
Parameters
- containingScope
- Type: Gallio.Framework.Pattern..::.IPatternScope
The containing scope.
- type
- Type: Gallio.Common.Reflection..::.ITypeInfo
The type.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Framework.Pattern..::.PatternUsageErrorException | Thrown if the attribute is being used incorrectly. |
