Exemplo n.º 1
0
 protected bool Equals(QnSContactManager.Contracts.Modules.Account.ILoginUser other)
 {
     if (other == null)
     {
         return(false);
     }
     return(IsEqualsWith(Email, other.Email) && LoginTime == other.LoginTime && LogoutTime == other.LogoutTime && IsEqualsWith(Name, other.Name) && State == other.State);
 }
Exemplo n.º 2
0
        public void CopyProperties(QnSContactManager.Contracts.Modules.Account.ILoginUser other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Email      = other.Email;
                LoginTime  = other.LoginTime;
                LogoutTime = other.LogoutTime;
                Name       = other.Name;
                State      = other.State;
            }
            AfterCopyProperties(other);
        }
Exemplo n.º 3
0
 partial void AfterCopyProperties(QnSContactManager.Contracts.Modules.Account.ILoginUser other);
Exemplo n.º 4
0
 partial void BeforeCopyProperties(QnSContactManager.Contracts.Modules.Account.ILoginUser other, ref bool handled);