示例#1
0
 public void Apply(MetricServerOptions options)
 {
     foreach (var configuration in _configurations)
     {
         configuration(options);
     }
 }
示例#2
0
 public HttpMetricsStartupFilter(ILogger <HttpMetricsStartupFilter> logger, IOptionsMonitor <MetricServerOptions> options)
 {
     _logger  = logger;
     _options = options.CurrentValue;
 }