示例#1
0
        /// <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");
        }
示例#2
0
        /// <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");
        }