Class RoleComparer
The RoleComparer class provides an implementation of
Inheritance
System.Object
RoleComparer
Namespace: DotNetNuke.Security.Roles
Assembly: DotNetNuke.dll
Syntax
public class RoleComparer : IComparer
Methods
| Improve this Doc View SourceCompare(Object, Object)
Compares two RoleInfo objects by performing a comparison of their rolenames.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | One of the RoleInfo instances to compare. |
System.Object | y | The other RoleInfo instance to compare. |
Returns
Type | Description |
---|---|
System.Int32 | An Integer that determines whether x is greater, smaller or equal to y. |