protected SampleObjectsClient(SampleObjectsAgent <Sample, SampleCollection> sampleObjectsAgent, bool useParallel) { // argument checks if (sampleObjectsAgent == null) { throw new ArgumentNullException(nameof(sampleObjectsAgent)); } // initialize members this.SampleObjectsAgent = sampleObjectsAgent; this.UseParallel = useParallel; return; }
protected ClearDisposableObjectsRefTestBase(SampleObjectsAgent <Sample, SampleCollection> sampleObjectsAgent, bool useParallel) : base(sampleObjectsAgent, useParallel) { }