Beispiel #1
0
 public SampleRunner(
     DependencyInjectionSample dependencyInjectionSample,
     BankTransferSample bankTransferSample,
     ConcurrencySample concurrencySample,
     DukeSample dukeSample,
     TravelSample travelSample)
 {
     samples = new Sample[]
     {
         dependencyInjectionSample,
         bankTransferSample,
         concurrencySample,
         dukeSample,
         travelSample
     };
 }
Beispiel #2
0
        public SampleRunner(
            DependencyInjectionSample dependencyInjectionSample,
            BankTransferSample bankTransferSample,
            ConcurrencySample concurrencySample,
            DukeSample dukeSample,
            TravelSample travelSample,
            ILogger <SampleRunner> logger)
        {
            samples = new Sample[]
            {
                travelSample,
                dependencyInjectionSample,
                bankTransferSample,
                concurrencySample,
                dukeSample
            };

            this.logger = logger;
        }