Click or drag to resize
EventReportsExtensionsBuildEventsHierarchy Method
Creates a hierarchy of events based on the list

Namespace: FlexRule.Events
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static List<Logic> BuildEventsHierarchy(
	this List<EventArgs> events,
	bool onlyRoots = true
)

Parameters

events
Type: System.Collections.GenericListEventArgs
onlyRoots (Optional)
Type: SystemBoolean
When true, the result is only the root of hierarchy, otherwise all the graphs nodes

Return Value

Type: ListLogic

Usage Note

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