public MainWindow() { InitializeComponent(); _ComputerCommandsviewModel = (ComputerCommands)this.Resources["ComputerCommandviewModel"]; _UserCommandsviewModel = (UserCommands)this.Resources["UserCommandsviewModel"]; _PrinterCommandsviewModel = (PrinterCommands)this.Resources["PrinterCommandsviewModel"]; MessageBus = DependencyInjection.SimpleContainer.Get <ImessageBus>(); }
public CreateActivityHandler(ImessageBus busClient) { _busClient = busClient; }
public ActivitiesController(ImessageBus bus) { _bus = bus; }
public BusBuilder UseQueueImplementation <TMsgBus>() where TMsgBus : ImessageBus { this._bus = (ImessageBus)_webHost.Services.GetService(typeof(TMsgBus)); return(new BusBuilder(_webHost, _bus)); }
public BusBuilder(IWebHost webHost, ImessageBus bus) { _webHost = webHost; _bus = bus; }
public UsersController(ImessageBus bus) { _bus = bus; }