コード例 #1
0
        // Loads the settings from the provider(XML provider which uses the
        // BlogSettings.Instance.StorageLocation/settings.xml as persistance data store )
        // and returns them in a StringDictionary for the BlogSettings class to use.
        public static StringDictionary LoadSettings()
        {
            //LoadProviders();
            //return _provider.LoadSettings();

            //This is used for Winforms application to access the settings
            Thon.ZaszBlog.Support.XmlProvider.XmlStorageProvider inst = new Thon.ZaszBlog.Support.XmlProvider.XmlStorageProvider();
            return inst.LoadSettings();
        }