예제 #1
0
 static void CompositionRoot()
 {
     // Instead of calling Processor.ReadFile directly we call the wrapper
     var processorLogger = new ProcessorLogger(new Processor(), new Log());
     string result = processorLogger.ReadFile("file.csv");
 }
예제 #2
0
 static void CompositionRoot()
 {
     // Instead of calling Processor.ReadFile directly we call the wrapper
     var    processorLogger = new ProcessorLogger(new Processor(), new Log());
     string result          = processorLogger.ReadFile("file.csv");
 }