public static FSharpAsync<Result> Show(IUnityContainer container, Model model) {
			return container.StartViewActivity<Result>(context => {
				var view = new EngineAnalyticsSetNameView(model, context);
				var presenter = container.Resolve<IViewPresenter>();
				presenter.ShowView(view);
			});
		}
示例#2
0
 public static FSharpAsync <Result> Show(IUnityContainer container, Model model)
 {
     return(container.StartViewActivity <Result>(context => {
         var view = new EngineAnalyticsSetNameView(model, context);
         var presenter = container.Resolve <IViewPresenter>();
         presenter.ShowView(view);
     }));
 }