Ejemplo n.º 1
0
 internal CoreControler(Guid coreId)
 {
     _coreId = coreId;
     _instanceContext = new InstanceContext(new CoreControllerCallbackService(this));
     _factory = new DuplexChannelFactory<ICoreControllerService>(_instanceContext,
         new NetNamedPipeBinding(), Addresses.CorePipeAddress(CoreId).ToString());
     _service = _factory.CreateChannel();
 }
Ejemplo n.º 2
0
 internal CoreControler(Guid coreId)
 {
     _coreId          = coreId;
     _instanceContext = new InstanceContext(new CoreControllerCallbackService(this));
     _factory         = new DuplexChannelFactory <ICoreControllerService>(_instanceContext,
                                                                          new NetNamedPipeBinding(), Addresses.CorePipeAddress(CoreId).ToString());
     _service = _factory.CreateChannel();
 }