Exemplo n.º 1
0
 public void Uninitialize()
 {
     if (this.client.State == CommunicationState.Created ||
         this.client.State == CommunicationState.Opening ||
         this.client.State == CommunicationState.Opened)
     {
         this.client.Close();
     }
     this.client = null;
 }
Exemplo n.º 2
0
        public void Initialize()
        {
            var instanceContext = new InstanceContext(this);

            this.client = new FileBrowserServiceClient(instanceContext);
        }