コード例 #1
0
		public static FSharpAsync<Unit> Show(IUnityContainer container) {
			return container.StartViewActivity<Unit>(context => {
				var view = new BackgroundTasksView(context);
				var presenter = container.Resolve<IViewPresenter>();
				presenter.ShowView(view);
			});
		}
コード例 #2
0
 public static FSharpAsync <Unit> Show(IUnityContainer container)
 {
     return(container.StartViewActivity <Unit>(context => {
         var view = new BackgroundTasksView(context);
         var presenter = container.Resolve <IViewPresenter>();
         presenter.ShowView(view);
     }));
 }