public ICoordinationListener Add(ICompletionParticipant serviceInstance)
        {
            DebugTrace.TraceEnter("CoordinationService.Add (ICompletionParticipant)");
            this.AssertProtocolServiceMode();
            IWSCompletionParticipant dispatcher = CompletionParticipantDispatcher.Instance(this, serviceInstance);
            ICoordinationListener    listener   = this.CreateService(dispatcher, dispatcher.ContractType, BindingStrings.CompletionParticipantSuffix(this.protocolVersion));

            DebugTrace.TraceLeave("CoordinationService.Add (ICompletionParticipant)");
            return(listener);
        }
 public CompletionParticipantDispatcher10(CoordinationService service, ICompletionParticipant dispatch)
 {
     ProtocolVersionHelper.AssertProtocolVersion10(service.ProtocolVersion, typeof(CompletionParticipantDispatcher10), "constr");
     this.completionParticipantDispatcher = new CompletionParticipantDispatcher(service, dispatch);
 }
Ejemplo n.º 3
0
 public CompletionParticipantDispatcher11(CoordinationService service, ICompletionParticipant dispatch)
 {
     ProtocolVersionHelper.AssertProtocolVersion11(service.ProtocolVersion, typeof(CompletionParticipantDispatcher11), "constr");
     this.completionParticipantDispatcher = new CompletionParticipantDispatcher(service, dispatch);
 }