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