public ScheduledBacklogItem(TenantId tenantId, ReleaseId releaseId, BacklogItemId backlogItemId, int ordering = 0) { this.TenantId = tenantId; this.ReleaseId = releaseId; this.BacklogItemId = backlogItemId; this.Ordering = ordering; }
public ScheduledBacklogItem(TenantId tenantId, ReleaseId releaseId, BacklogItemId backlogItemId, int ordering = 0) { TenantId = tenantId; ReleaseId = releaseId; BacklogItemId = backlogItemId; Ordering = ordering; }
public override int GetHashCode() { return (+(73281 * 47) + TenantId.GetHashCode() + ReleaseId.GetHashCode() + BacklogItemId.GetHashCode()); }
public bool Equals(ScheduledBacklogItem other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(null, other)) { return(false); } return(TenantId.Equals(other.TenantId) && ReleaseId.Equals(other.ReleaseId) && BacklogItemId.Equals(other.BacklogItemId)); }
public Release( TenantId tenantId, ProductId productId, ReleaseId releaseId, string name, string description, DateTime begins, DateTime ends) { if (ends.Ticks < begins.Ticks) { throw new InvalidOperationException("Release must not end before it begins."); } Begins = begins; Description = description; Ends = ends; Name = name; ProductId = productId; ReleaseId = releaseId; TenantId = tenantId; _backlogItems = new HashSet <ScheduledBacklogItem>(); }