예제 #1
0
        public void SetupProducts()
        {
            var catalogState = new CatalogState();
            this.Queries = catalogState;
            this.Changes = catalogState;
            this.a_fake_ProductIdGenerator = new FakeProductIdGenerator();

            this.Catalog = new Catalog(catalogState, catalogState, a_fake_ProductIdGenerator);
        }
예제 #2
0
파일: Catalog.cs 프로젝트: ToJans/dypsok
 public Catalog(IQueryACatalog Queries, IChangeACatalog Changes,IGenerateProductIds ProductIdGenerator)
 {
     this.Queries = Queries;
     this.Changes = Changes;
     this.ProductIdGenerator = ProductIdGenerator;
 }