public static FormFieldMultipleChoice AddField(this FormFieldMultipleChoice formField, FormField field) { formField.Value.Fields.Add(field); return(formField); }
public static FormFieldTitle AddField(this FormFieldTitle formFieldTilte, FormField formField) { formFieldTilte.Value.Fields.Add(formField); return(formFieldTilte); }
public static FormFieldMultipleChoice WithField(this FormFieldMultipleChoice formField, FormField field) { formField.Value.Fields = new List <FormField> { field }; return(formField); }