コード例 #1
0
        public void Clear()
        {
            id    = 0;
            sname = null;
            fname = null;

            sex    = null;
            status = null;

            phone = null;
            email = default;


            sexStatus = SexStatus.None;
            country   = null;
            premium   = default;
            likes.Clear();

            interests.Clear();
            joined = 0;
            city   = null;
            birth  = 0;

            Fields = UpdatedFields.None;
        }
コード例 #2
0
 public static bool ContainsAny(this UpdatedFields self, UpdatedFields flags)
 {
     return((self & flags) != UpdatedFields.None);
 }