예제 #1
0
 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;
 }
예제 #2
0
 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));
 }
예제 #3
0
 protected bool Equals(ChangeVersion other)
 {
     return(_value == other._value);
 }
예제 #4
0
 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));
 }
예제 #5
0
 public DefaultChange(ChangeVersion version, string changeType, string summary, DateTimeOffset date, string reference = "") : base(version, changeType, summary, date, reference)
 {
 }