You are here: RainWorx.FrameWorx.Utility > Hierarchy(TKey, TValue) Class > Hierarchy(TKey, TValue) Methods > Generate Method

HierarchyTKey, TValueGenerate Method

AuctionWorx 3.5 API

Namespace:  RainWorx.FrameWorx.Utility
Assembly:  RainWorx.FrameWorx.Utility (in RainWorx.FrameWorx.Utility.dll) Version: 3.5

Syntax

C#
public static Hierarchy<TKey, TValue> Generate(
	IEnumerable<TValue> items,
	string idProperty,
	string parentProperty
)

Parameters

items
Type: System.Collections.GenericIEnumerableTValue
idProperty
Type: SystemString
parentProperty
Type: SystemString

Return Value

Type: HierarchyTKey, TValue
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.