Table of Contents

Class ListHelper

Namespace
Dynamicweb.Core.Helpers
Assembly
Dynamicweb.Core.dll
Class contains list helper methods.
public class ListHelper
Inheritance
ListHelper
Inherited Members

Methods

Sort<T>(List<T>, string, string)

Sorts list by property
public static List<T> Sort<T>(List<T> data, string sortPropertyName, string sortDirection)

Parameters

data List<T>
List of data
sortPropertyName string
List item property name
sortDirection string
Sort direction

Returns

List<T>
Sorted list

Type Parameters

T
Type
To top