Пример #1
0
 public HttpParallelWorkersLauncher(int count, Uri uri, IBinaryProfiler profiler)
 {
     _count    = count;
     _uri      = uri;
     _profiler = profiler ?? throw new ArgumentNullException(nameof(profiler));
 }
Пример #2
0
 public Request(Uri uri, IBinaryProfiler responseProfiler)
 {
     _profiler = responseProfiler ?? throw new ArgumentNullException(nameof(responseProfiler));
     Uri       = uri;
 }
Пример #3
0
 public BinaryProfilerStreamMonitor(IBinaryProfiler profiler, bool isWriting, object streamSyncRoot = null)
 {
     _profiler       = profiler ?? throw new ArgumentNullException(nameof(profiler));
     _isWriting      = isWriting;
     _streamSyncRoot = streamSyncRoot ?? new object();
 }
Пример #4
0
 private ApplicationContext()
 {
     _defaultBinaryProfiler = new SimpleCliBinaryProfiler(0, 0);
 }