예제 #1
0
 public MVCSExtension(MediationMode mediationMode)
 {
     CommandBinder   = new CommandBinder();
     EventDispatcher = new EventDispatcherWithCommandProcessing((CommandBinder)CommandBinder);
     InjectionBinder = new InjectionBinder();
     MediationBinder = new MediationBinder(mediationMode, InjectionBinder);
 }
예제 #2
0
        public void SetUp()
        {
            var dispatcher = new EventDispatcherWithCommandProcessing(new CommandBinder());
            var bus        = new Build1.PostMVC.Extensions.MVCS.Events.Impl.EventBus
            {
                Dispatcher = dispatcher
            };

            _dispatcher = dispatcher;
            _bus        = bus;
        }
예제 #3
0
        public void SetUp()
        {
            var dispatcher = new EventDispatcherWithCommandProcessing(new CommandBinder());
            var provider   = new EventMapProvider
            {
                Dispatcher = dispatcher
            };

            _dispatcher = dispatcher;
            _map        = provider.TakeInstance(this, null);
        }