コード例 #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;
 }
コード例 #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;
 }