DrilldownFieldChoiceExtensionToEnumerablePaths Method

Recursively retrieves all paths from the root choices to the leaf choices.

Definition

Namespace: FileHold.LibraryManager.Extensions
Assembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.2.0.0
C#
public static IEnumerable<IEnumerable<DrilldownFieldChoice>> ToEnumerablePaths(
	this IEnumerable<DrilldownFieldChoice> choices,
	bool onlyEdges
)

Parameters

choices  IEnumerableDrilldownFieldChoice
The initial set of choices.
onlyEdges  Boolean
Indicates whether to include only paths that end at leaf nodes.

Return Value

IEnumerableIEnumerableDrilldownFieldChoice
An enumerable of paths, where each path is represented as an enumerable of choices.

Usage Note

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