コード例 #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);
 }