public EditTicketResponse(IValidationResult result, IValidationResultInterpreter resultInterpreter, Ticket createdTicket = null) { Ticket = createdTicket; this.ValidationResult = result ?? throw new ArgumentNullException(nameof(result)); this.resultInterpreter = resultInterpreter ?? throw new ArgumentNullException(nameof(resultInterpreter)); }
public CreateTicketResponseFactory(IValidationResultInterpreter resultInterpreter) { if (resultInterpreter == null) { throw new ArgumentNullException(nameof(resultInterpreter)); } this.resultInterpreter = resultInterpreter; }
public EditCommentResponse(IValidationResult result, IValidationResultInterpreter resultInterpreter) { if (resultInterpreter == null) { throw new ArgumentNullException(nameof(resultInterpreter)); } if (result == null) { throw new ArgumentNullException(nameof(result)); } this.validationResult = result; this.resultInterpreter = resultInterpreter; }
public CreateTicketResponse(IValidationResult result, IValidationResultInterpreter resultInterpreter, Ticket createdTicket = null) { if (resultInterpreter == null) { throw new ArgumentNullException(nameof(resultInterpreter)); } if (result == null) { throw new ArgumentNullException(nameof(result)); } Ticket = createdTicket; this.validationResult = result; this.resultInterpreter = resultInterpreter; }
public CreateProjectResponse(IValidationResultInterpreter resultInterpreter) { this.resultInterpreter = resultInterpreter ?? throw new ArgumentNullException(nameof(resultInterpreter)); }