Ejemplo n.º 1
0
 protected override void OnExit()
 {
     if (api != null && api.IsInitialized())
     {
         api.SendUserSessionEnd();
     }
 }
Ejemplo n.º 2
0
        public void SetUnsentExceptions(List <Exception> list)
        {
            exceptions.Clear();
            if (list == null)
            {
                return;
            }

            foreach (Exception ex in list)
            {
                exceptions.Add(ex);
            }

            if (api != null && api.IsInitialized())
            {
                foreach (Exception ex in exceptions)
                {
                    api.SendError(ex.ToString());
                }
                exceptions.Clear();
            }
        }