public static FormFieldNewFile WithValue(this FormFieldNewFile formField, NewFile file) { formField.Value = new List <NewFile> { file }; return(formField); }
public static FormFieldNewFile AddValue(this FormFieldNewFile formField, NewFile attachment) { formField.Value.Add(attachment); return(formField); }