Esempio n. 1
0
        public PageNavigationServiceFixture()
        {
            _container = new PageNavigationContainerMock();

            _container.Register("PageMock", typeof(PageMock));

            _container.Register("ContentPage", typeof(ContentPageMock));
            _container.Register(typeof(ContentPageMockViewModel).FullName, typeof(ContentPageMock));

            _container.Register("NavigationPage", typeof(NavigationPageMock));
            _container.Register("NavigationPage-Empty", typeof(NavigationPageEmptyMock));
            _container.Register("NavigationPageWithStack", typeof(NavigationPageWithStackMock));
            _container.Register("NavigationPageWithStackNoMatch", typeof(NavigationPageWithStackNoMatchMock));

            _container.Register("MasterDetailPage", typeof(MasterDetailPageMock));
            _container.Register("MasterDetailPage-Empty", typeof(MasterDetailPageEmptyMock));


            _container.Register("TabbedPage", typeof(TabbedPageMock));
            _container.Register("CarouselPage", typeof(CarouselPageMock));
        }
 public PageNavigationServiceMock(PageNavigationContainerMock containerMock, IApplicationProvider applicationProviderMock, ILoggerFacade loggerFacadeMock, PageNavigationEventRecorder recorder = null)
     : base(containerMock, applicationProviderMock, new PageBehaviorFactory(), loggerFacadeMock)
 {
     _containerMock = containerMock;
     _recorder      = recorder;
 }
Esempio n. 3
0
 public PageNavigationServiceMock(PageNavigationContainerMock containerMock, IApplicationProvider applicationProviderMock, ILoggerFacade loggerFacadeMock)
     : base(applicationProviderMock, loggerFacadeMock)
 {
     _containerMock = containerMock;
 }
Esempio n. 4
0
 public void Dispose()
 {
     _container.Dispose();
     _container = null;
 }
Esempio n. 5
0
 public PageNavigationServiceMock(PageNavigationContainerMock containerMock)
 {
     _containerMock = containerMock;
 }
 public PageNavigationServiceMock(PageNavigationContainerMock containerMock)
 {
     _containerMock = containerMock;
 }
 public PageNavigationServiceMock(PageNavigationContainerMock containerMock, IApplicationProvider applicationProviderMock, ILoggerFacade loggerFacadeMock)
     : base(applicationProviderMock, loggerFacadeMock)
 {
     _containerMock = containerMock;
 }