public ICoordinationListener Add(IActivationCoordinator serviceInstance) { DebugTrace.TraceEnter("CoordinationService.Add (IActivationCoordinator)"); this.AssertProtocolServiceMode(); IWSActivationCoordinator dispatcher = ActivationCoordinatorDispatcher.Instance(this, serviceInstance); ICoordinationListener listener = this.CreateService(dispatcher, dispatcher.ContractType, BindingStrings.ActivationCoordinatorSuffix(this.protocolVersion)); DebugTrace.TraceLeave("CoordinationService.Add (IActivationCoordinator)"); return(listener); }
public ActivationCoordinatorDispatcher10(CoordinationService service, IActivationCoordinator dispatch) { ProtocolVersionHelper.AssertProtocolVersion10(service.ProtocolVersion, typeof(ActivationCoordinatorDispatcher10), "constr"); this.activationCoordinatorDispatcher = new ActivationCoordinatorDispatcher(service, dispatch); }
public ActivationCoordinatorDispatcher11(CoordinationService service, IActivationCoordinator dispatch) { ProtocolVersionHelper.AssertProtocolVersion11(service.ProtocolVersion, typeof(ActivationCoordinatorDispatcher11), "constr"); this.activationCoordinatorDispatcher = new ActivationCoordinatorDispatcher(service, dispatch); }