Пример #1
0
 public ProductManager(CrossCuttingConcernsFactory1 crossCuttingConcerns1,
                       Logging logging, Caching caching)
 {
     _crossCuttingConcerns1 = crossCuttingConcerns1;
     _caching = caching;
     _logging = logging;
 }
Пример #2
0
 public ProductManager(CrossCuttingConcernsFactory1 crossCuttingConcernsFactory1)
 {
     _crossCuttingConcernsFactory1 = crossCuttingConcernsFactory1;
     _logging = crossCuttingConcernsFactory1.CreateLogger();
     _caching = crossCuttingConcernsFactory1.CreateCaching();
 }