Inheritance: FormEx, ISettingsView
        private ISettingsPresenter GetSettingPresenter()
        {
            ISettingsModel     model     = new SettingsModel();
            ISettingsView      view      = new SettingsView();
            ISettingsPresenter presenter = SimpleResolver.Instance.Get <ISettingsPresenter>(
                new object[] { model, view }
                );

            return(presenter);
        }
Ejemplo n.º 2
0
 private ISettingsPresenter GetSettingPresenter() {
     ISettingsModel model = new SettingsModel();
     ISettingsView view = new SettingsView();
     ISettingsPresenter presenter = SimpleResolver.Instance.Get<ISettingsPresenter>(
         new object[] { model, view }
     );
     return presenter;
 }