ThrottlingSentinelFilter Constructor
Definition
- Namespace
- Cuemon.AspNetCore.Mvc.Filters.Throttling
- Assemblies
- Cuemon.AspNetCore.Mvc.dll
ThrottlingSentinelFilter(IOptions<ThrottlingSentinelOptions>, IThrottlingCache)
Initializes a new instance of the ThrottlingSentinelFilter class.
public ThrottlingSentinelFilter(IOptions<ThrottlingSentinelOptions> setup, IThrottlingCache tc)
Parameters
setupIOptions<ThrottlingSentinelOptions>The ThrottlingSentinelOptions which need to be configured.
tcIThrottlingCacheThe dependency injected IThrottlingCache.