Click or drag to resize

imbGraphExtensionsgetFilterOut Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Filters out the collection by path regex, nameRegex is optional AND criterion

Namespace:  imbSCI.Data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static List<IObjectWithPathAndChildren> getFilterOut(
	this IEnumerable<IObjectWithPathAndChildren> children,
	Regex pathRegex,
	Regex nameRegex = null
)
Request Example View Source

Parameters

children
Type: System.Collections.GenericIEnumerableIObjectWithPathAndChildren
The children.
pathRegex
Type: System.Text.RegularExpressionsRegex
The path regex.
nameRegex (Optional)
Type: System.Text.RegularExpressionsRegex
The name regex.

Return Value

Type: ListIObjectWithPathAndChildren

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIObjectWithPathAndChildren. 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).
See Also