예제 #1
0
        public UserCache(string accountName)
        {
            string applicationDataDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);

            _cacheLocation = System.IO.Path.Combine(applicationDataDirectory, Assembly.GetExecutingAssembly().GetName().Name, string.Format("{0}.json", accountName));
            _cacheData     = new UserCacheData();
        }
예제 #2
0
 public UserCache(string accountName)
 {
     string applicationDataDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
     _cacheLocation = System.IO.Path.Combine(applicationDataDirectory, Assembly.GetExecutingAssembly().GetName().Name, string.Format("{0}.json", accountName));
     _cacheData = new UserCacheData();
 }