public ProductManager(CrossCuttingConcernsFactory crossCuttingConcernsFactory) { _crossCuttingConcernsFactory = crossCuttingConcernsFactory; _caching = crossCuttingConcernsFactory.CreateCaching(); _logging = crossCuttingConcernsFactory.CreateLogger(); }
private CrossCuttingConcernsFactory _crossCuttingConcernsFactory; //bunu yazdıktan sonra oluşturucuyu oluşturun public ProductManager(CrossCuttingConcernsFactory crossCuttingConcernsFactory) //method olarak yazmış olduk { _crossCuttingConcernsFactory = crossCuttingConcernsFactory; _logging = _crossCuttingConcernsFactory.CreateLogger(); //bunları da methodllaştırdık _caching = _crossCuttingConcernsFactory.CreateCaching(); }
public ProductManager(CrossCuttingConcernFactory crossCuttingConcernFactory) { this.crossCuttingConcernFactory = crossCuttingConcernFactory; this.logging = this.crossCuttingConcernFactory.CreateLogger(); this.caching = this.crossCuttingConcernFactory.CreateCaching(); }
public ProductManager(CCCFactory cccFactory) { _cccFactory = cccFactory; _logging = _cccFactory.CreateLogger(); _caching = _cccFactory.CreateCaching(); }
public CustomerManager(CrossCuttingConcernsFactory crossCuttingConcernsFactory) { _crossCuttingConcernsFactory = crossCuttingConcernsFactory; _logging = _crossCuttingConcernsFactory.CreateLogger(); _caching = _crossCuttingConcernsFactory.CreateCaching(); }