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; }
public ActionExecutePermissionDescriptor(ActionExecutePermissionDescriptorsList owner, Type type, String targetAction, bool defaultExecute, string inheritedFrom) { InheritedFrom = inheritedFrom; Initialize(owner, type, targetAction); this.executeGrantedInOtherPermission = defaultExecute; }