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); }
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); }
partial void AfterCopyProperties(QuickNSmart.Contracts.Modules.TestInheritance.ILoginUser other);
partial void BeforeCopyProperties(QuickNSmart.Contracts.Modules.TestInheritance.ILoginUser other, ref bool handled);