예제 #1
0
 public void RequestPermission(string key, string verb, string reason)
 {
     PermissionManager.CheckPermissionAndPrompt(_addon, key, verb, null);
 }
예제 #2
0
 public bool HasPermission(string key)
 {
     return(PermissionManager.HasPermission(_addon.DerivedKey, key));
 }