コード例 #1
0
 public DashboardMiddleware(RequestDelegate next,
                            IGrainFactory grainFactory,
                            IOptions <DashboardOptions> options,
                            DashboardLogger logger)
 {
     this.options = options;
     this.logger  = logger;
     this.next    = next;
     client       = new DashboardClient(grainFactory);
 }
コード例 #2
0
 public DashboardMiddleware(RequestDelegate next,
                            IGrainFactory grainFactory,
                            IExternalDispatcher dispatcher,
                            IOptions <DashboardOptions> options,
                            DashboardLogger logger)
 {
     this.grainFactory = grainFactory;
     this.dispatcher   = dispatcher;
     this.options      = options;
     this.logger       = logger;
     this.next         = next;
 }
コード例 #3
0
 public DashboardMiddleware(RequestDelegate next,
                            IGrainFactory grainFactory,
                            IAssetProvider assetProvider,
                            IOptions <DashboardOptions> options,
                            DashboardLogger logger)
 {
     this.options       = options;
     this.logger        = logger;
     this.next          = next;
     this.grainFactory  = grainFactory;
     this.assetProvider = assetProvider;
 }
コード例 #4
0
 public TraceWriter(DashboardLogger traceListener, HttpContext context)
 {
     this.traceListener = traceListener;
     this.traceListener.Add(Write);
     this.context = context;
 }