public ServerCommandFactory()
 {
     _services        = ServiceLocatorBuilder.CreateServiceLocator();
     _channelHandlers = _services.Get <IChannelHandlerCollection>();
     _methodHandlers  = _services.Get <IChannelMethodHandlerCollection>();
 }
예제 #2
0
 public ConsoleWriter()
 {
     _methodHandlers = ServiceLocatorBuilder
                       .CreateServiceLocator()
                       .Get <IChannelMethodHandlerCollection>();
 }
예제 #3
0
 protected ServiceBase()
 {
     _services = ServiceLocatorBuilder.CreateServiceLocator();
 }
예제 #4
0
 public ChannelMessageOutputWriter()
 {
     _services   = ServiceLocatorBuilder.CreateServiceLocator();
     _msgService = _services.Get <IChannelMessageService>();
 }