コード例 #1
0
 /// <summary>
 /// To be added.
 /// </summary>
 /// <param name="context"></param>
 /// <param name="permissions"></param>
 /// <returns></returns>
 public static bool CheckSelfPermissions(this Context context, params string[] permissions) =>
 !permissions
 .Select(s => context.CheckSelfPermission(s))
 .Any(p => p == Permission.Denied);