public static ErrorSubChoice WithErrorChoice(this ErrorSubChoice errorSubChoice, ErrorChoice errorChoice)
 {
     errorSubChoice.ErrorChoice = errorChoice;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithOrganisation(this ErrorSubChoice errorSubChoice, Organisation organisation)
 {
     errorSubChoice.Organisation = organisation;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithIsActive(this ErrorSubChoice errorSubChoice, Boolean isActive)
 {
     errorSubChoice.IsActive = isActive;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithError(this ErrorSubChoice errorSubChoice, ICollection <Error> error)
 {
     errorSubChoice.Error = error;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithDescription(this ErrorSubChoice errorSubChoice, String description)
 {
     errorSubChoice.Description = description;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithErrorChoiceCode(this ErrorSubChoice errorSubChoice, Guid errorChoiceCode)
 {
     errorSubChoice.ErrorChoiceCode = errorChoiceCode;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithSecurityLabel(this ErrorSubChoice errorSubChoice, Guid securityLabel)
 {
     errorSubChoice.SecurityLabel = securityLabel;
     return(errorSubChoice);
 }
 public static ErrorSubChoice WithCode(this ErrorSubChoice errorSubChoice, Guid code)
 {
     errorSubChoice.Code = code;
     return(errorSubChoice);
 }
Ejemplo n.º 9
0
 public static Error WithErrorSubChoice(this Error error, ErrorSubChoice errorSubChoice)
 {
     error.ErrorSubChoice = errorSubChoice;
     return(error);
 }