public static FSharpAsync<Result> Show(IUnityContainer container, Model model) { return container.StartViewActivity<Result>(context => { var view = new EngineControlsView(model, context); var presenter = container.Resolve<IViewPresenter>(); presenter.ShowView(view); }); }
public static FSharpAsync <Result> Show(IUnityContainer container, Model model) { return(container.StartViewActivity <Result>(context => { var view = new EngineControlsView(model, context); var presenter = container.Resolve <IViewPresenter>(); presenter.ShowView(view); })); }
public static void Start(Model model, IUnityContainer container, ContentColumn content) { var view = new EngineControlsView(model, container); content.Content = view; }