Table of Contents

Class UserSortCollection

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Security.dll
Represents collection of UserSort
public class UserSortCollection : List<UserSort>, IList<UserSort>, ICollection<UserSort>, IReadOnlyList<UserSort>, IReadOnlyCollection<UserSort>, IEnumerable<UserSort>, IList, ICollection, IEnumerable
Inheritance
UserSortCollection
Implements
Inherited Members
Extension Methods

Methods

AddOrReplace(UserSort)

Adds sort object to collection or replaces found object with new one
public void AddOrReplace(UserSort sort)

Parameters

sort UserSort
UserSort object instance

CheckContains(Group)

Checks if collection contains group
public bool CheckContains(Group group)

Parameters

group Group
Group object instance

Returns

bool
True if collection contains group element

GetSorting(Group)

Gets sorting value
public int GetSorting(Group group)

Parameters

group Group
Group object instance

Returns

int
Integer value

GetUserSortCollection(string)

Gets collection of user sorts
public static UserSortCollection GetUserSortCollection(string xml)

Parameters

xml string
xml string with user sort data

Returns

UserSortCollection
UserSortCollection

ToString()

Gets object data as string
public override string ToString()

Returns

string
String representation of object state
To top