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)
488
private
IThrottle
? _throttle;
490
public ThrottledResponse(
IThrottle
throttle, HttpResponseMessage response)
HttpSource\HttpSourceResourceProvider.cs (2)
30
public static
IThrottle
? Throttle { get; set; }
47
IThrottle
throttle = NullThrottle.Instance;