Ejemplo n.º 1
0
 internal void Initialize(ActionExecutePermissionDescriptorsList owner, Type type, String targetAction)
 {
     Guard.ArgumentNotNull(owner, "owner");
     Guard.ArgumentNotNull(type, "type");
     this.owner        = owner;
     this.type         = type;
     this.targetAction = targetAction;
 }
Ejemplo n.º 2
0
 public ActionExecutePermissionDescriptor(ActionExecutePermissionDescriptorsList owner, Type type, String targetAction, bool defaultExecute, string inheritedFrom)
 {
     InheritedFrom = inheritedFrom;
     Initialize(owner, type, targetAction);
     this.executeGrantedInOtherPermission = defaultExecute;
 }