protected virtual void Dispose(bool disposing)
 {
     if (!disposedValue)
     {
         if (disposing)
         {
             if (_AnalyticsClient != null)
             {
                 _AnalyticsClient.Dispose();
             }
         }
         disposedValue = true;
     }
 }