App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class PerRequestTimerMiddleware

Inheritance
System.Object
AppMetricsMiddleware<AspNetMetricsOptions>
PerRequestTimerMiddleware
Inherited Members
AppMetricsMiddleware<TOptions>.Logger
AppMetricsMiddleware<TOptions>.Metrics
AppMetricsMiddleware<TOptions>.Next
AppMetricsMiddleware<TOptions>.Options
AppMetricsMiddleware<TOptions>.GetOAuthClientIdIfRequired(HttpContext)
AppMetricsMiddleware<TOptions>.PerformMetric(HttpContext)
AppMetricsMiddleware<TOptions>.ShouldTrackHttpStatusCode(Int32)
AppMetricsMiddleware<TOptions>.WriteResponseAsync(HttpContext, String, String, HttpStatusCode, String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Extensions.Middleware
Assembly:cs.temp.dll.dll
Syntax
public class PerRequestTimerMiddleware : AppMetricsMiddleware<AspNetMetricsOptions>

Constructors

PerRequestTimerMiddleware(RequestDelegate, AspNetMetricsOptions, ILoggerFactory, IMetrics)

Declaration
public PerRequestTimerMiddleware(RequestDelegate next, AspNetMetricsOptions aspNetOptions, ILoggerFactory loggerFactory, IMetrics metrics)
Parameters
Type Name Description
RequestDelegate next
AspNetMetricsOptions aspNetOptions
ILoggerFactory loggerFactory
IMetrics metrics

Methods

Invoke(HttpContext)

Declaration
public Task Invoke(HttpContext context)
Parameters
Type Name Description
HttpContext context
Returns
Type Description
Task
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX