Esempio 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;
 }
Esempio n. 2
0
        public void Initialize()
        {
            var instanceContext = new InstanceContext(this);

            this.client = new FileBrowserServiceClient(instanceContext);
        }