コード例 #1
0
        public RequestLogPerformanceMiddleware(IOptions <RequestLogOptions> requestLogOptions, ISemanticLog log)
        {
            Guard.NotNull(requestLogOptions, nameof(requestLogOptions));
            Guard.NotNull(log, nameof(log));

            this.requestLogOptions = requestLogOptions.Value;

            this.log = log;
        }
コード例 #2
0
        public RequestLogPerformanceMiddleware(RequestDelegate next, IOptions <RequestLogOptions> requestLogOptions)
        {
            this.requestLogOptions = requestLogOptions.Value;

            this.next = next;
        }
コード例 #3
0
        public RequestLogPerformanceMiddleware(IOptions <RequestLogOptions> options, ISemanticLog log)
        {
            this.options = options.Value;

            this.log = log;
        }