Esempio n. 1
0
 public void Configure(WarmUpOptions options)
 {
     options.Path        = Path;
     options.Parallelism = Parallelism;
 }
Esempio n. 2
0
 public WarmUpMiddleware(IWarmUpService warmUpService, IOptions <WarmUpOptions> options, RequestDelegate next)
 {
     _warmUpService = warmUpService;
     _options       = options.Value;
     _next          = next;
 }