metaToolstestScope Method |
Namespace: imbSCI.Reporting.meta
public static bool testScope( this IObjectWithPathAndChildSelector currentScope, IObjectWithPathAndChildSelector test, metaModelTargetEnum testScope )
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