Esempio n. 1
0
 public void RegisterModelBinders(ModelBinderDictionary modelBinders)
 {
     modelBinders[typeof(PluginAddress)]             = new PluginAddressModelBinder();
     modelBinders[typeof(PluginEditInput)]           = new PluginEditInputModelBinder();
     modelBinders[typeof(PluginNotInstalledAddress)] = new PluginNotInstalledAddressModelBinder();
     modelBinders[typeof(PluginInstallInput)]        = new PluginInstallInputModelBinder();
 }
Esempio n. 2
0
 public void RegisterModelBinders(ModelBinderDictionary modelBinders)
 {
     modelBinders[typeof(Plugin)]                    = container.Resolve <PluginModelBinder>();
     modelBinders[typeof(PluginEditInput)]           = new PluginEditInputModelBinder();
     modelBinders[typeof(PluginNotInstalledAddress)] = new PluginNotInstalledAddressModelBinder();
     modelBinders[typeof(PluginInstallInput)]        = new PluginInstallInputModelBinder();
 }