Beispiel #1
0
 public JasperAlbaUsage(JasperRuntime runtime)
 {
     _runtime = runtime ?? throw new ArgumentNullException(nameof(runtime));
     Urls     = new JasperUrlLookup(_runtime.Get <IUrlRegistry>());
     Features = _runtime.Get <IServer>().Features;
     Services = _runtime.Container;
     Invoker  = _runtime.RequestDelegate;
 }
Beispiel #2
0
 public JasperAlbaUsage(JasperRuntime runtime)
 {
     _runtime = runtime;
     Urls     = new JasperUrlLookup(_runtime.Get <IUrlRegistry>());
     Features = _runtime.Get <IServer>().Features;
     Services = _runtime.Container;
     Invoker  = _runtime.RequestDelegate;
 }