Beispiel #1
0
 /// <summary>
 /// Return true if is allowed
 /// </summary>
 /// <param name="manifest">Manifest</param>
 /// <param name="method">Method</param>
 /// <returns>Return true or false</returns>
 public bool CanCall(ContractManifest manifest, string method)
 {
     return(Permissions.Any(u => u.IsAllowed(manifest, method)));
 }