Click or drag to resize

metaToolstestScope Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Tests test vs currentScope relationship

Namespace:  imbSCI.Reporting.meta
Assembly:  imbSCI.Reporting (in imbSCI.Reporting.dll) Version: 0.3.70.
Syntax
C#
public static bool testScope(
	this IObjectWithPathAndChildSelector currentScope,
	IObjectWithPathAndChildSelector test,
	metaModelTargetEnum testScope
)
Request Example View Source

Parameters

currentScope
Type: imbSCI.Data.interfacesIObjectWithPathAndChildSelector
The current scope.
test
Type: imbSCI.Data.interfacesIObjectWithPathAndChildSelector
The test.
testScope
Type: imbSCI.Core.reporting.style.enumsmetaModelTargetEnum
The test scope.

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObjectWithPathAndChildSelector. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

Target enums supported:

Same element scopetest is direct child of currentScopescopeChildtest is child at any level of currentScopescopeEachChildtest is parent at any level of currentScopescopeParenttest is not null scopeRelativePath For any other metaModelTargetEnum value it will return false, except for none returns true
See Also