public static FSharpAsync<Unit> Show(IUnityContainer container) { return container.StartViewActivity<Unit>(context => { var view = new AppSettingsView(context); var presenter = container.Resolve<IViewPresenter>(); presenter.ShowView(view); }); }
public static FSharpAsync <Unit> Show(IUnityContainer container) { return(container.StartViewActivity <Unit>(context => { var view = new AppSettingsView(context); var presenter = container.Resolve <IViewPresenter>(); presenter.ShowView(view); })); }