Esempio n. 1
0
 public void IssueRegistered(TenantId Tenant, ProductId Product, IssueId Id, string Name, string Description, IssueType Type, IssueAssignerId assigner)
 {
     Issues.Add(new IssueView { Id = Id, Name = Name, Description = Description, Assigner = assigner });
     if (Type == IssueType.Defect)
         Bus.DefectReported(Tenant, Product, Id, Name, Description, assigner);
     else
         Bus.FeatureRequested(Tenant, Product, Id, Name, Description, assigner);
 }
Esempio n. 2
0
 public bool IsActive(TenantId TenantId, IssueAssignerId assignerId)
 {
     if (!ActiveTenants.Contains(TenantId))
     {
         return(false);
     }
     return(Assigners.Any(x => x.Item1 == TenantId && x.Item2 == assignerId));
 }
Esempio n. 3
0
 public void IssueRegistered(TenantId Tenant, ProductId Product, IssueId Id, string Name, string Description, IssueType Type, IssueAssignerId assigner)
 {
     Issues.Add(new IssueView {
         Id = Id, Name = Name, Description = Description, Assigner = assigner
     });
     if (Type == IssueType.Defect)
     {
         Bus.DefectReported(Tenant, Product, Id, Name, Description, assigner);
     }
     else
     {
         Bus.FeatureRequested(Tenant, Product, Id, Name, Description, assigner);
     }
 }
Esempio n. 4
0
 public void IssueAssignerActivated(TenantId a_tenant, IssueAssignerId an_assigner)
 {
     Assigners.Add(Tuple.Create(a_tenant, an_assigner));
 }
Esempio n. 5
0
 public bool IsActive(TenantId TenantId, IssueAssignerId assignerId)
 {
     if (!ActiveTenants.Contains(TenantId)) return false;
     return Assigners.Any(x=>x.Item1 == TenantId && x.Item2 == assignerId);
 }
Esempio n. 6
0
 public void IssueAssignerActivated(TenantId a_tenant, IssueAssignerId an_assigner)
 {
     Assigners.Add(Tuple.Create(a_tenant, an_assigner));
 }