/// <summary> /// /// </summary> public ResourceLoader() { settings = new SettingsReaderWriter(); resManager = new ResourceManager("EventMessenger.Resources.Manifest", System.Reflection.Assembly.GetExecutingAssembly()); settings.ReadSettings(); cultureInfo = (settings.DefaultLanguage == "german") ? new CultureInfo("de") : new CultureInfo("en"); }
/// <summary> /// /// </summary> /// <param name="type"></param> public EnumerateExtension(Type type) { this.Type = type; settings = new SettingsReaderWriter(); resManager = new ResourceManager("EventMessenger.Resources.Manifest", System.Reflection.Assembly.GetExecutingAssembly()); settings.ReadSettings(); cultureInfo = (settings.DefaultLanguage == "german") ? new CultureInfo("de") : new CultureInfo("en"); }