public ICoordinationListener Add(IRegistrationCoordinator serviceInstance)
        {
            DebugTrace.TraceEnter("CoordinationService.Add (IRegistrationCoordinator)");
            this.AssertProtocolServiceMode();
            IWSRegistrationCoordinator dispatcher = RegistrationCoordinatorDispatcher.Instance(this, serviceInstance);
            ICoordinationListener      listener   = this.CreateService(dispatcher, dispatcher.ContractType, BindingStrings.RegistrationCoordinatorSuffix(this.protocolVersion));

            DebugTrace.TraceLeave("CoordinationService.Add (IRegistrationCoordinator)");
            return(listener);
        }
 public RegistrationCoordinatorDispatcher11(CoordinationService service, IRegistrationCoordinator dispatch)
 {
     ProtocolVersionHelper.AssertProtocolVersion11(service.ProtocolVersion, typeof(RegistrationCoordinatorDispatcher11), "constr");
     this.registrationCoordinatorDispatcher = new RegistrationCoordinatorDispatcher(service, dispatch);
 }
Beispiel #3
0
 public RegistrationCoordinatorDispatcher11(CoordinationService service, IRegistrationCoordinator dispatch)
 {
     ProtocolVersionHelper.AssertProtocolVersion11(service.ProtocolVersion, typeof(RegistrationCoordinatorDispatcher11), "constr");
     this.registrationCoordinatorDispatcher = new RegistrationCoordinatorDispatcher(service, dispatch);
 }