Esempio n. 1
0
 protected bool Equals(QnSBillShare.Contracts.Business.Account.ILoginUser other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(User, other.User) && IsEqualsWith(Roles, other.Roles));
 }
Esempio n. 2
0
        public void CopyProperties(QnSBillShare.Contracts.Business.Account.ILoginUser other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id        = other.Id;
                Timestamp = other.Timestamp;
                User      = other.User;
                Roles     = other.Roles;
            }
            AfterCopyProperties(other);
        }
Esempio n. 3
0
 partial void AfterCopyProperties(QnSBillShare.Contracts.Business.Account.ILoginUser other);
Esempio n. 4
0
 partial void BeforeCopyProperties(QnSBillShare.Contracts.Business.Account.ILoginUser other, ref bool handled);