public void add_user_info(user_info obj)
 {
     if (!group_members.Contains(obj))
     {
         group_members.Add(obj);
     }
 }
Esempio n. 2
0
 public comparsion_unit(user_info source, user_info target, string src_conversion_original, string src_after_conversion)
 {
     account_name        = target.account_name;
     first_name          = target.first_name;
     last_name           = target.last_name;
     mailaddress         = target.mailaddress;
     affiliation         = target.affiliation;
     job_title           = target.job_title;
     conversion_original = src_conversion_original;
     after_conversion    = src_after_conversion;
     del_flg             = target.del_flg;
 }
 public group_info(string src_name, string src_sid, user_info obj = null)
 {
     account_name = src_name;
     sid          = src_sid;
     if (obj == null)
     {
         group_members = new List <user_info>();
     }
     else
     {
         group_members = new List <user_info>()
         {
             obj
         }
     };
 }