protected bool Equals(QnSProjectAward.Contracts.Modules.Account.ILogon other) { if (other == null) { return(false); } return(IsEqualsWith(Email, other.Email) && IsEqualsWith(Password, other.Password) && IsEqualsWith(OptionalInfo, other.OptionalInfo)); }
public static Modules.Account.Logon Create(QnSProjectAward.Contracts.Modules.Account.ILogon other) { BeforeCreate(other); var result = new Modules.Account.Logon(); result.CopyProperties(other); AfterCreate(result, other); return(result); }
public void CopyProperties(QnSProjectAward.Contracts.Modules.Account.ILogon other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Email = other.Email; Password = other.Password; OptionalInfo = other.OptionalInfo; } AfterCopyProperties(other); }
partial void AfterCopyProperties(QnSProjectAward.Contracts.Modules.Account.ILogon other);
partial void BeforeCopyProperties(QnSProjectAward.Contracts.Modules.Account.ILogon other, ref bool handled);
static partial void AfterCreate(Modules.Account.Logon instance, QnSProjectAward.Contracts.Modules.Account.ILogon other);
static partial void BeforeCreate(QnSProjectAward.Contracts.Modules.Account.ILogon other);