Method | Description | |
---|---|---|
CreatePropertyName ( string prefix, string propertyName ) : string | ||
DerivedTypeModelBinder ( ) : System | ||
DerivedTypeModelBinder ( ITypeStampOperator typeStampOperator ) : System |
Method | Description | |
---|---|---|
CreateModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
An override of CreateModel that focuses on detecting alternate types at runtime
|
|
DetectInstantiationType ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
protected CreateModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | the controller context |
bindingContext | System.Web.Mvc.ModelBindingContext | the binding context |
modelType | the target type to be instantiated by this method and rehydrated by /// the default model binder | |
return | object |
public CreatePropertyName ( string prefix, string propertyName ) : string | ||
prefix | string | |
propertyName | string | |
return | string |
public DerivedTypeModelBinder ( ITypeStampOperator typeStampOperator ) : System | ||
typeStampOperator | ITypeStampOperator | |
return | System |
protected DetectInstantiationType ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
typeToCreate | ||
return |