public CreateRolePreCommand(IRoleManagementRoleValidatorResolver validatorResolver, IProvideUserConfiguration userConfiguration) { if (validatorResolver == null) throw new ArgumentNullException("validatorResolver"); if (userConfiguration == null) throw new ArgumentNullException("userConfiguration"); this.validatorResolver = validatorResolver; this.userConfiguration = userConfiguration; }
public RenameRolePreCommand(IRoleManagementRoleService service, IRoleManagementRoleValidatorResolver validatorResolver) { if (service == null) throw new ArgumentNullException("service"); if (validatorResolver == null) throw new ArgumentNullException("validatorResolver"); this.service = service; this.validatorResolver = validatorResolver; }