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