public バックログアイテムディスカッションリクエスト時(Tenants.テナントId tenantId, プロダクトId productId, バックログアイテムId backlogItemId, bool isRequested)
 {
     this.TenantId = tenantId;
     this.EventVersion = 1;
     this.OccurredOn = DateTime.UtcNow;
     this.ProductId = productId;
     this.BacklogItemId = backlogItemId;
     this.IsRequested = isRequested;
 }
        public バックログアイテム(
            テナントId tenantId,
            プロダクトId productId,
            バックログアイテムId backlogItemId,
            string summary,
            string category,
            バックログアイテムタイプ type,
            バックログアイテムステータス backlogItemStatus,
            ストーリポイント 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;

            this.tasks = new List<タスク>();
        }
Esempio n. 3
0
        public リリース(
            テナントId tenantId,
            プロダクトId productId,
            リリースId 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<計画済みバックログアイテム>();
        }