Example #1
0
        public void Init()
        {
            var state = new ProductState(null);
            SUT= state;

            state.ProductActivated(a_tenant_id, a_product_id, a_product_name, a_product_description);
            state.ProductActivated(another_tenant_id, another_product_id, another_product_name, another_product_description);
        }
Example #2
0
        public void Init()
        {
            var state = new ProductState(null);

            SUT = state;

            state.ProductActivated(a_tenant_id, a_product_id, a_product_name, a_product_description);
            state.ProductActivated(another_tenant_id, another_product_id, another_product_name, another_product_description);
        }
Example #3
0
 public Product(IModifyProductState Changes,IQueryProductState Queries)
 {
     this.Changes = Changes;
     this.Queries = Queries;
 }
Example #4
0
 public Product(IModifyProductState Changes, IQueryProductState Queries)
 {
     this.Changes = Changes;
     this.Queries = Queries;
 }