Ejemplo n.º 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();
        }
Ejemplo n.º 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();
 }