Method | Description | |
---|---|---|
AddAssembly ( |
Adds the types of the assembly that are marked with teh SingleValueObjectAttribute.
|
|
AddType ( |
Adds the specified type. Only adds the types that are supported by the model binder. |
|
AddTypes ( ) : void |
Adds the specified types. Only adds the types that are supported by the model binder. |
|
RegisterForAll ( ModelBinderDictionary binders ) : void |
Registers the model binder to the specified model binder dictionary. Typical usage: |
|
RemoveType ( |
Removes the specified type.
|
Method | Description | |
---|---|---|
BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object | ||
TypeConverterModelBinder ( ) : System |
public static AddAssembly ( |
||
assembly | /// Assembly to add. /// | |
return | void |
public static AddType ( |
||
tp | /// Type to add. /// | |
return | void |
public static RegisterForAll ( ModelBinderDictionary binders ) : void | ||
binders | ModelBinderDictionary | The model binder dictionary to add to. |
return | void |
public static RemoveType ( |
||
tp | /// Type to remove. /// | |
return | void |