public MVCSExtension(MediationMode mediationMode) { CommandBinder = new CommandBinder(); EventDispatcher = new EventDispatcherWithCommandProcessing((CommandBinder)CommandBinder); InjectionBinder = new InjectionBinder(); MediationBinder = new MediationBinder(mediationMode, InjectionBinder); }
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; }
public void SetUp() { var dispatcher = new EventDispatcherWithCommandProcessing(new CommandBinder()); var provider = new EventMapProvider { Dispatcher = dispatcher }; _dispatcher = dispatcher; _map = provider.TakeInstance(this, null); }