コード例 #1
0
        public bool archEqual(MatchUser candidate)
        {
            bool success = candidate.age == this.age && candidate.lookingforSex == this.lookingforSex;


            return(success);
        }
コード例 #2
0
 /// <summary>
 /// for archtype uses ONLY!
 /// </summary>
 /// <param name="archuser"></param>
 public MatchUser(MatchUser archuser)
 {
     this.age           = archuser.age;
     this.lookingforSex = archuser.lookingforSex;
     id       = -1;
     username = "";
     client   = null;
 }
コード例 #3
0
        public MatchUser getArch()
        {
            MatchUser archuser = new MatchUser(this);

            return(archuser);
        }