/// <summary> /// Imports the specified result. /// </summary> /// <param name="result">The result.</param> private static void Import(SerializableNotificationRefTypes result) { if (result == null) { EveMonClient.Trace("failed"); return; } EveMonClient.Trace("begin"); s_notificationRefTypes = result.Types; s_loaded = true; EveMonClient.Trace("done"); }
/// <summary> /// Imports the specified result. /// </summary> /// <param name="result">The result.</param> private static void Import(SerializableNotificationRefTypes result) { if (result == null) { EveMonClient.Trace("failed"); return; } foreach (var refType in result.Types) { int id = refType.TypeID; if (!s_notificationRefTypes.ContainsKey(id)) { s_notificationRefTypes.Add(id, refType); } } s_loaded = true; }