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