2 implementations of IThrottle
NuGet.Protocol (2)
HttpSource\NullThrottle.cs (1)
12
public class NullThrottle :
IThrottle
HttpSource\SemaphoreSlimThrottle.cs (1)
10
public class SemaphoreSlimThrottle :
IThrottle
7 references to IThrottle
NuGet.Protocol (7)
HttpSource\HttpSource.cs (5)
26
private readonly
IThrottle
_throttle;
41
IThrottle
throttle)
441
public static HttpSource Create(SourceRepository source,
IThrottle
throttle)
486
private
IThrottle
? _throttle;
488
public ThrottledResponse(
IThrottle
throttle, HttpResponseMessage response)
HttpSource\HttpSourceResourceProvider.cs (2)
32
public static
IThrottle
Throttle { get; set; }
49
IThrottle
throttle = NullThrottle.Instance;