Click or drag to resize

ProfileManagerReorderAccordingToProfileT Method (IListT, String, FuncT, String)

Reorders the given collection of items according to the current visitor's primary profile.

Namespace:  Dynamicweb.Analytics.Profiles
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static void ReorderAccordingToProfile<T>(
	IList<T> items,
	string itemType,
	Func<T, string> idGenerator
)

Parameters

items
Type: System.Collections.GenericIListT
Items to reoder.
itemType
Type: SystemString
Item type name.
idGenerator
Type: SystemFuncT, String
A function that generates the item ID.

Type Parameters

T
Item type.
See Also