public PermissionChange(Permission permission) { if (permission == null) { throw new ArgumentNullException("permission"); } this.Permission = permission; this.Action = PermissionChangeAction.None; }
public PermissionChangePersistenceData(PermissionScope scope, string name, PermissionChangeAction action) { this.Scope = scope; this.Name = name; this.Action = action; }