Ejemplo n.º 1
0
        /// <summary>
        /// Called when an account status has been updated.
        /// </summary>
        /// <param name="apiKey">The API key.</param>
        internal static void OnAccountStatusUpdated(APIKey apiKey)
        {
            if (Closed)
            {
                return;
            }

            Trace(apiKey.ToString());
            AccountStatusUpdated?.ThreadSafeInvoke(null, EventArgs.Empty);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Called when an account status has been updated.
        /// </summary>
        /// <param name="apiKey">The API key.</param>
        internal static void OnAccountStatusUpdated(APIKey apiKey)
        {
            if (Closed)
            {
                return;
            }

            Trace(apiKey.ToString());
            EveMonClient.Characters.UpdateAccountStatuses();
            Settings.Save();
            AccountStatusUpdated?.ThreadSafeInvoke(null, EventArgs.Empty);
        }