From aede3316f1d8c0a59b8b43d1ae0d5cb77126e5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 16 Mar 2017 08:05:22 +0300 Subject: [PATCH] Refactor: Reorder methods of IdentityRole. --- .../Volo/Abp/Identity/IdentityRole.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Volo.Abp.Identity/Volo/Abp/Identity/IdentityRole.cs b/src/Volo.Abp.Identity/Volo/Abp/Identity/IdentityRole.cs index d595d0bb77..58302389cc 100644 --- a/src/Volo.Abp.Identity/Volo/Abp/Identity/IdentityRole.cs +++ b/src/Volo.Abp.Identity/Volo/Abp/Identity/IdentityRole.cs @@ -77,6 +77,13 @@ namespace Volo.Abp.Identity } } + public void RemoveClaim([NotNull] Claim claim) + { + Check.NotNull(claim, nameof(claim)); + + Claims.RemoveAll(c => c.ClaimType == claim.Type && c.ClaimValue == claim.Value); + } + /// /// Returns the name of the role. /// @@ -85,12 +92,5 @@ namespace Volo.Abp.Identity { return Name; } - - public void RemoveClaim([NotNull] Claim claim) - { - Check.NotNull(claim, nameof(claim)); - - Claims.RemoveAll(c => c.ClaimType == claim.Type && c.ClaimValue == claim.Value); - } } }