public PermissionVisiblityExtension(object value)
 {
     this.permission = (PermissionSymbol)value;
 }
Exemple #2
0
 public override bool AllowedPermission(PermissionSymbol permission)
 {
     return permission.IsAuthorized();
 }
 public PermissionAllowedExtension(object value)
 {
     this.permission = (PermissionSymbol)value;
 }