The base behavior is similar to ASP.NET MVC's ModelBinder's binding operation minus the validation features.
public class FormVariableBinder : object
| Member | Description | |
|---|---|---|
![]() |
Constructor | |
![]() |
Unbind | Unbinds form variables into the specified target object public bool Unbind();
public static List<BindingError> Unbind(object model,
string propertyExceptions, string formvarPrefixes); |
![]() |
BindingErrors | Binding Errors that occur on unbining into the model |
![]() |
FormVarPropertySeparator | The character used as a separator in the HTML form for child properties (ie. Address.Street or Address.Phone.Home) Default value is a . |
![]() |
Model | An object to bind to |
![]() |
Prefixes | An optional prefix on form variables to unbind. Can also specify multiple prefixes separated by commas. |
![]() |
PropertyExceptionList | List of exceptions that aren't to be bound. Uses the Form variable name. |