示例#1
0
        public void RemoveFunction(string function)
        {
            string dump;

            if (TryGetFunction(function, out dump))
            {
                LinkedHomes.Remove(function);
            }
        }
示例#2
0
        public void AddFunction(string function)
        {
            string dump;

            if (TryGetFunction(function, out dump))
            {
                return;
            }
            LinkedHomes.Add(function);
        }
示例#3
0
 public User(string username, string password, string email, string LinkedHome)
 {
     Username = username;
     Password = password;
     Email    = email;
     string[] temp = LinkedHome.Split(',');
     foreach (string s in temp)
     {
         LinkedHomes.Add(s);
     }
 }