示例#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();
 }
示例#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);
     });
 }
示例#3
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();
 }
示例#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));
 }