-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5118 from DanielBolef/top-level-pages
Top level pages
- Loading branch information
Showing
22 changed files
with
1,042 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
DNN Platform/Library/Security/Permissions/ComparePortalPermissions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information | ||
namespace DotNetNuke.Security.Permissions | ||
{ | ||
using System.Collections; | ||
|
||
/// ----------------------------------------------------------------------------- | ||
/// Project : DotNetNuke | ||
/// Namespace: DotNetNuke.Security.Permissions | ||
/// Class : ComparePortalPermissions | ||
/// ----------------------------------------------------------------------------- | ||
/// <summary> | ||
/// ComparePortalPermissions provides the a custom IComparer implementation for | ||
/// PortalPermissionInfo objects. | ||
/// </summary> | ||
/// ----------------------------------------------------------------------------- | ||
internal class ComparePortalPermissions : IComparer | ||
{ | ||
/// <inheritdoc/> | ||
public int Compare(object x, object y) | ||
{ | ||
return ((PortalPermissionInfo)x).PortalPermissionID.CompareTo(((PortalPermissionInfo)y).PortalPermissionID); | ||
} | ||
} | ||
} |
Oops, something went wrong.