protected BaseChange(ChangeVersion version, string changeType, string summary, DateTimeOffset date, string reference = "") { Version = version; ChangeType = EnsureNonEmpty(changeType, nameof(changeType)); Summary = EnsureNonEmpty(summary, nameof(summary)); Date = EnsureNonNull(date, nameof(date)); Reference = reference; }
public OverrideChange(string id, ChangeVersion version, string changeType, string summary, DateTimeOffset date, string reference = "") : base(version, changeType, summary, date, reference) { Id = EnsureNonEmpty(id, nameof(id)); }
protected bool Equals(ChangeVersion other) { return(_value == other._value); }
public ProjectChange(string project, ChangeVersion version, string changeType, string summary, DateTimeOffset date, string reference = "") : base(version, changeType, summary, date, reference) { Project = EnsureNonEmpty(project, nameof(project)); }
public DefaultChange(ChangeVersion version, string changeType, string summary, DateTimeOffset date, string reference = "") : base(version, changeType, summary, date, reference) { }