private void Initialization() { PubSubClientCallback _clientCallback = new PubSubClientCallback(); var InstanceContext = new InstanceContext(_clientCallback); serviceConnectionInitialization = new ServiceConnectionInitialization(InstanceContext); }
private PubSubClient(PubSubClientCallback callbackImpl, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : this(new System.ServiceModel.InstanceContext(callbackImpl), binding, remoteAddress) { useGeneratedCallback = true; callbackImpl.Initialize(this); }