예제 #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
파일: User.cs 프로젝트: itshacki/EyeControl
 public User()
 {
     data = new UserData
     {
         userName = "******",
         vocabulary = new Dictionary<string, int>(),
         log = "",
         userPages = new List<IClusterSection>(),
         currentPage = 1
     };
 }
예제 #3
0
파일: User.cs 프로젝트: itshacki/EyeControl
 public User(string fromFile)
 {
     data = Newtonsoft.Json.JsonConvert.DeserializeObject<UserData>(System.IO.File.ReadAllText(fromFile));
 }