1 instantiation of SemaphoreSlimThrottle
NuGet.Protocol (1)
HttpSource\SemaphoreSlimThrottle.cs (1)
41
return new
SemaphoreSlimThrottle
(new SemaphoreSlim(initialCount));
4 references to SemaphoreSlimThrottle
NuGet.Build.Tasks (1)
BuildTasksUtility.cs (1)
246
HttpSourceResourceProvider.Throttle =
SemaphoreSlimThrottle
.CreateBinarySemaphore();
NuGet.Protocol (3)
HttpSource\HttpSourceResourceProvider.cs (1)
57
throttle =
SemaphoreSlimThrottle
.CreateSemaphoreThrottle(source.PackageSource.MaxHttpRequestsPerSource);
HttpSource\SemaphoreSlimThrottle.cs (2)
34
public static
SemaphoreSlimThrottle
CreateBinarySemaphore()
39
public static
SemaphoreSlimThrottle
CreateSemaphoreThrottle(int initialCount)