Beispiel #1
0
 public ServiceHost(string aUrl)
 {
     _webService = new zfitService.zfitWebMethods()
     {
         Url = aUrl
     };
 }
Beispiel #2
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources
 /// </summary>
 /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
         if (_webService != null)
         {
             _webService.Dispose();
             _webService = null;
         }
 }
Beispiel #3
0
 /// <summary>
 /// Releases unmanaged and - optionally - managed resources
 /// </summary>
 /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_webService != null)
         {
             _webService.Dispose();
             _webService = null;
         }
     }
 }
Beispiel #4
0
 public ServiceHost(string aUrl)
 {
     _webService = new zfitService.zfitWebMethods() { Url = aUrl };
 }