public BacklogItem(
     TenantId tenantId,
     ProductId productId,
     BacklogItemId backlogItemId,
     string summary,
     string category,
     BacklogItemType type,
     BacklogItemStatus backlogItemStatus,
     StoryPoints storyPoints)
 {
     this.BacklogItemId = backlogItemId;
     this.Category = category;
     this.ProductId = productId;
     this.Status = backlogItemStatus;
     this.StoryPoints = storyPoints;
     this.Summary = summary;
     this.TenantId = tenantId;
     this.Type = type;
 }
Example #2
0
        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.");

            this.Begins = begins;
            this.Description = description;
            this.Ends = ends;
            this.Name = name;
            this.ProductId = productId;
            this.ReleaseId = releaseId;
            this.TenantId = tenantId;
            this.backlogItems = new HashSet<ScheduledBacklogItem>();
        }
Example #3
0
        public Sprint(
            TenantId tenantId,
            ProductId productId,
            SprintId sprintId,
            string name,
            string goals,
            DateTime begins,
            DateTime ends)
        {
            if (ends.Ticks < begins.Ticks)
            {
                throw new InvalidOperationException("Sprint must not end before it begins.");
            }

            this.BacklogItems = new HashSet<CommittedBacklogItem>();
            this.Begins = begins;
            this.Goals = goals;
            this.Ends = ends;
            this.Name = name;
            this.ProductId = productId;
            this.SprintId = sprintId;
            this.TenantId = tenantId;
        }