protected bool Equals(QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other) { if (other == null) { return(false); } return(IdentityId == other.IdentityId && IsEqualsWith(AppName, other.AppName) && IsEqualsWith(Key, other.Key) && IsEqualsWith(Value, other.Value)); }
public static Modules.Base.IdentitySetting Create(QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other) { BeforeCreate(other); var result = new Modules.Base.IdentitySetting(); result.CopyProperties(other); AfterCreate(result, other); return(result); }
public void CopyProperties(QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Id = other.Id; IdentityId = other.IdentityId; AppName = other.AppName; Key = other.Key; Value = other.Value; } AfterCopyProperties(other); }
static partial void AfterCreate(Modules.Base.IdentitySetting instance, QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other);
static partial void BeforeCreate(QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other);
partial void AfterCopyProperties(QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other);
partial void BeforeCopyProperties(QnSProjectAward.Contracts.Modules.Base.IIdentitySetting other, ref bool handled);