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