Interface IFormDataBinder
Defines methods binding data from and to form components.
public interface IFormDataBinder
- Extension Methods
Methods
BindSubmittedData(IInfo, ICollection<IFormComponent>)
Binds submitted form components data to given infoObject.
void BindSubmittedData(IInfo infoObject, ICollection<IFormComponent> components)
Parameters
infoObjectIInfoInfo object instance where the data will be set.
componentsICollection<IFormComponent>Components holding data submitted from form.
Exceptions
- ArgumentNullException
Thrown when
componentsorinfoObjectis null.
- See Also
BindSubmittedData(object, ICollection<IFormComponent>)
Binds submitted form components data to given model.
void BindSubmittedData(object model, ICollection<IFormComponent> components)
Parameters
modelobjectObject model instance where the data will be set.
componentsICollection<IFormComponent>Components holding data submitted from form.
Exceptions
- ArgumentNullException
Thrown when
componentsormodelis null.
- See Also