/// <summary> /// Implementation of Dispose pattern. /// </summary> /// <param name="disposing">If true: Dispose</param> protected virtual void Dispose(bool disposing) { if (disposing) { // dispose managed resources _lineMessagingClient.Dispose(); } }