Exemplo n.º 1
0
        public static void Start(IUnityContainer container, ContentColumn content)          //(Model model, IUnityContainer container, ContentColumn content) {
        //var view = new EngineAnalyticsView(model, container);
        {
            var view = new EngineAnalyticsView(container);

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

			content.Content = view;
		}