Example #1
0
 public ProductCreated(TenantId tenantId, Issues.ProductId id, string name, string description, ProductManager manager, IssueAssigner assigner)
 {
     // TODO: Complete member initialization
     this.TenantId = tenantId.ToString();
     this.ProductId = id.ToString();
     this.Name = name.ToString();
     this.Description = description.ToString();
     this.ProductManager = manager.ToString();
     this.IssueAssigner = assigner.ToString();
 }
Example #2
0
 Product()
 {
     Register<ProductCreated>(e =>
     {
         _id = new ProductId(e.ProductId);
         _tenantId = new TenantId(e.TenantId);
         name = e.Name;
         description = e.Description;
         productManager = new ProductManager(e.ProductManager);
         issueAssigner = new IssueAssigner(e.IssueAssigner);
     });
 }
 public ProductCreated(TenantId tenantId, Issues.ProductId id, string name, string description, ProductManager manager, IssueAssigner assigner)
 {
     // TODO: Complete member initialization
     this.TenantId       = tenantId.ToString();
     this.ProductId      = id.ToString();
     this.Name           = name.ToString();
     this.Description    = description.ToString();
     this.ProductManager = manager.ToString();
     this.IssueAssigner  = assigner.ToString();
 }
Example #4
0
 public Product(
     TenantId tenantId,
     ProductId id,
     string name,
     string description,
     ProductManager manager,
     IssueAssigner assigner)
     : this()
 {
     ApplyChange(new ProductCreated(tenantId, id, name, description, manager, assigner));
 }