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