public BusinessPriorityAssigned(Tenants.TenantId tenantId, BacklogItemId backlogItemId, BusinessPriority businessPriority)
        {
            this.TenantId = tenantId;
            this.EventVersion = 1;
            this.OccurredOn = DateTime.UtcNow;

            this.BacklogItemId = backlogItemId;
            this.BusinessPriority = businessPriority;
        }
        public BusinessPriorityAssigned(Tenants.TenantId tenantId, BacklogItemId backlogItemId, BusinessPriority businessPriority)
        {
            this.TenantId     = tenantId;
            this.EventVersion = 1;
            this.OccurredOn   = DateTime.UtcNow;

            this.BacklogItemId    = backlogItemId;
            this.BusinessPriority = businessPriority;
        }
Ejemplo n.º 3
0
 public void AssignBusinessPriority(BusinessPriority businessPriority)
 {
     this.BusinessPriority = businessPriority;
     DomainEventPublisher.Instance.Publish(
         new BusinessPriorityAssigned(this.TenantId, this.BacklogItemId, businessPriority));
 }
Ejemplo n.º 4
0
 public void AssignBusinessPriority(BusinessPriority businessPriority)
 {
     this.BusinessPriority = businessPriority;
     DomainEventPublisher.Instance.Publish(
         new BusinessPriorityAssigned(this.TenantId, this.BacklogItemId, businessPriority));
 }