Example #1
0
 /// <summary>
 /// Implements the Dispose pattern
 /// </summary>
 /// <param name="disposing">Whether this object is being disposed via a call to Dispose
 /// or garbage collected.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (!this._isDisposed)
     {
         if (disposing && _stsClient != null)
         {
             _stsClient.Dispose();
             _stsClient = null;
         }
         this._isDisposed = true;
     }
 }