/// <summary> /// Indicates whether the current <see cref="LicenseLimitRecord" /> instance is equal to another <see cref="LicenseLimitRecord" /> instance. /// </summary> /// <param name="that"> /// The <see cref="LicenseLimitRecord" /> instance to be compared against this instance. /// </param> /// <returns> /// True if both instances are considered equal; otherwise, false. /// </returns> public Boolean Equals(LicenseLimitRecord that) { Boolean result = true; result = result && (this.Id == that.Id); result = result && (this.LicId == that.LicId); result = result && (this.Type == that.Type); result = result && (this.Value == that.Value); return(result); }
/// <summary> /// Creates a new <see cref="LicenseLimitRecord" /> object instance that is a shallow-copy of the current object instance. /// </summary> /// <returns> /// The shallow-copy of the current <see cref="LicenseLimitRecord" /> object instance. /// </returns> public LicenseLimitRecord Clone() { LicenseLimitRecord record = new LicenseLimitRecord(); record.Id = this.Id; record.LicId = this.LicId; record.Type = this.Type; record.Value = this.Value; return(record); }