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