コード例 #1
0
 protected bool Equals(QuickNSmart.Contracts.Modules.TestInheritance.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);
 }
コード例 #2
0
        public void CopyProperties(QuickNSmart.Contracts.Modules.TestInheritance.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);
        }
コード例 #3
0
 partial void AfterCopyProperties(QuickNSmart.Contracts.Modules.TestInheritance.ILoginUser other);
コード例 #4
0
 partial void BeforeCopyProperties(QuickNSmart.Contracts.Modules.TestInheritance.ILoginUser other, ref bool handled);