コード例 #1
0
 /// <summary>
 /// Adds <see cref="ThrottlingSettings"/> and <see cref="IThrottlingProvider"/> to the specified service collection.
 /// </summary>
 public static IServiceCollection AddVostokThrottling(this IServiceCollection services, IThrottlingProvider provider)
 => services.AddVostokThrottling(provider, _ => {});