Пример #1
0
 public User()
 {
     data = new UserData
     {
         userName = "******",
         vocabulary = new Dictionary<string, int>(),
         log = new List<string>(UserData._MAX_NUM_OF_LOG_LINES)
     };
 }
Пример #2
0
 public User()
 {
     data = new UserData
     {
         userName = "******",
         vocabulary = new Dictionary<string, int>(),
         log = "",
         userPages = new List<IClusterSection>(),
         currentPage = 1
     };
 }
Пример #3
0
 public User(string fromFile)
 {
     data = Newtonsoft.Json.JsonConvert.DeserializeObject<UserData>(System.IO.File.ReadAllText(fromFile));
 }