示例#1
0
        public DealingModule(
            IUnityContainer container,
            IRegionManager regionManager,
            IEventMessager eventMessager,
            IRegionNavigationCallbackHandler regionNavigationCallbackHelper,
            IRegionNavigationCapacityChecker regionNavigationCapacityChecker)
        {
            this.container = container;
            this.regionManager = regionManager;
            this.regionNavigationCallbackHelper = regionNavigationCallbackHelper;
            this.regionNavigationCapacityChecker = regionNavigationCapacityChecker;

            eventMessager.Observe<ShowNewSpotTileMessage>()
                .Subscribe(NavigateToNewSpotTile);
        }
示例#2
0
        public DealingModule(
            IUnityContainer container,
            IRegionManager regionManager,
            IEventMessager eventMessager,
            IRegionNavigationCallbackHandler regionNavigationCallbackHelper,
            IRegionNavigationCapacityChecker regionNavigationCapacityChecker)
        {
            this.container     = container;
            this.regionManager = regionManager;
            this.regionNavigationCallbackHelper  = regionNavigationCallbackHelper;
            this.regionNavigationCapacityChecker = regionNavigationCapacityChecker;

            eventMessager.Observe <ShowNewSpotTileMessage>()
            .Subscribe(NavigateToNewSpotTile);
        }