• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class RoleComparer

The RoleComparer class provides an implementation of for RoleInfo objects.

Inheritance
System.Object
RoleComparer
Namespace: DotNetNuke.Security.Roles
Assembly: DotNetNuke.dll
Syntax
public class RoleComparer : IComparer

Methods

| Improve this Doc View Source

Compare(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.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS