public SampleRunner(
     BankTransferSample bankTransferSample,
     ConcurrencySample concurrencySample,
     DukeSample dukeSample,
     TravelSample travelSample)
 {
     samples = new Sample[]
     {
         bankTransferSample,
         concurrencySample,
         dukeSample,
         travelSample
     };
 }
Beispiel #2
0
 public SampleRunner(
     DependencyInjectionSample dependencyInjectionSample,
     BankTransferSample bankTransferSample,
     ConcurrencySample concurrencySample,
     DukeSample dukeSample,
     TravelSample travelSample)
 {
     samples = new Sample[]
     {
         dependencyInjectionSample,
         bankTransferSample,
         concurrencySample,
         dukeSample,
         travelSample
     };
 }
Beispiel #3
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;
        }