public ServerCommandFactory() { _services = ServiceLocatorBuilder.CreateServiceLocator(); _channelHandlers = _services.Get <IChannelHandlerCollection>(); _methodHandlers = _services.Get <IChannelMethodHandlerCollection>(); }
public ConsoleWriter() { _methodHandlers = ServiceLocatorBuilder .CreateServiceLocator() .Get <IChannelMethodHandlerCollection>(); }
protected ServiceBase() { _services = ServiceLocatorBuilder.CreateServiceLocator(); }
public ChannelMessageOutputWriter() { _services = ServiceLocatorBuilder.CreateServiceLocator(); _msgService = _services.Get <IChannelMessageService>(); }