Ejemplo n.º 1
0
 private void ElevateStatusWith(BacklogItemStatus status)
 {
     if (Status == BacklogItemStatus.Scheduled)
     {
         Status = BacklogItemStatus.Committed;
     }
 }
Ejemplo n.º 2
0
 public void Complete()
 {
     if (!HasComponentToDo)
     {
         Status = BacklogItemStatus.Finished;
     }
 }
Ejemplo n.º 3
0
        public BacklogItemStatusChanged(Tenants.TenantId tenantId, BacklogItemId backlogItemId, BacklogItemStatus status)
        {
            TenantId      = tenantId;
            EventVersion  = 1;
            OccurredOn    = DateTime.UtcNow;
            BacklogItemId = backlogItemId;

            Status = status;
        }
        public BacklogItemStatusChanged(Tenants.TenantId tenantId, BacklogItemId backlogItemId, BacklogItemStatus status)
        {
            this.TenantId = tenantId;
            this.EventVersion = 1;
            this.OccurredOn = DateTime.UtcNow;
            this.BacklogItemId = backlogItemId;

            this.Status = status;
        }
        public BacklogItem(TenantId tenantId, ProductId productId, BacklogItemId backlogItemId, string summary,
            string category, BacklogItemType type, BacklogItemStatus backlogItemStatus, StoryPoints storyPoints)
        {
            AssertionConcern.NotEmpty(summary, "The summary must be provided.");
            AssertionConcern.Length(summary, 100, "The summary must be 100 characters or less.");

            this.TenantId = tenantId;
            this.ProductId = productId;
            this.BacklogItemId = backlogItemId;
            this.Summary = summary;
            this.Category = category;
            this.Type = type;
            this.Status = backlogItemStatus;
            this.StoryPoints = storyPoints;

            this._tasks = new List<Task>();
        }
Ejemplo n.º 6
0
 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;
 }
Ejemplo n.º 7
0
        public BacklogItem(
            TenantId tenantId,
            ProductId productId,
            BacklogItemId backlogItemId,
            string summary,
            string category,
            BacklogItemType type,
            BacklogItemStatus backlogItemStatus,
            StoryPoints storyPoints)
        {
            BacklogItemId = backlogItemId;
            Category      = category;
            ProductId     = productId;
            Status        = backlogItemStatus;
            StoryPoints   = storyPoints;
            Summary       = summary;
            TenantId      = tenantId;
            Type          = type;

            _tasks = new List <Task.Task>();
        }
Ejemplo n.º 8
0
        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;

            this.tasks = new List <Task>();
        }
        public BacklogItemStatusChanged(Tenants.TenantId tenantId, BacklogItemId backlogItemId, BacklogItemStatus status)
        {
            this.TenantId      = tenantId;
            this.EventVersion  = 1;
            this.OccurredOn    = DateTime.UtcNow;
            this.BacklogItemId = backlogItemId;

            this.Status = status;
        }
Ejemplo n.º 10
0
 void ElevateStatusWith(BacklogItemStatus status)
 {
     if (this.Status == BacklogItemStatus.Scheduled)
     {
         this.Status = BacklogItemStatus.Committed;
     }
 }
Ejemplo n.º 11
0
 public void StartWorkingOn(Component componentToWork)
 {
     Status = BacklogItemStatus.Started;
     componentToWork.StartWorkingOn();
 }