コード例 #1
0
        public static AppSettingsProvider GetInstance()
        {
            if (instance == null)
            {
                instance = new AppSettingsProvider();
            }

            return(instance);
        }
コード例 #2
0
 public void LoadSettings()
 {
     try
     {
         if (File.Exists(path))
         {
             instance = JSONService <AppSettingsProvider> .Deserialize(path).Result;
         }
     }
     catch { }
 }