コード例 #1
0
 /// <summary>
 /// Determines whether the ID of this logged-in user is the same as a specified user.
 /// </summary>
 public static bool Is(this ClaimsPrincipal loggedInUser, ILoginInfo loginInfo) => loginInfo.Is(loggedInUser);
コード例 #2
0
 /// <summary>
 /// Determines whether the ID of this logged-in user is the same as a specified user.
 /// </summary>
 public static bool Is(this ClaimsPrincipal @this, ILoginInfo loginInfo) => loginInfo.Is(@this);