rename Use methods to have ApplicationInsights prefix
This commit is contained in:
Родитель
d5ab49e1fe
Коммит
ee0da53636
|
@ -5,19 +5,19 @@
|
|||
|
||||
public static class ApplicationInsightMiddlewareExtensions
|
||||
{
|
||||
public static IApplicationBuilder UseRequestTelemetry(this IApplicationBuilder app)
|
||||
public static IApplicationBuilder UseApplicationInsightsRequestTelemetry(this IApplicationBuilder app)
|
||||
{
|
||||
app.UseMiddleware<ApplicationInsightsMiddleware>();
|
||||
return app;
|
||||
}
|
||||
|
||||
public static IApplicationBuilder UseExceptionsTelemetry(this IApplicationBuilder app)
|
||||
public static IApplicationBuilder UseApplicationInsightsTelemetry(this IApplicationBuilder app)
|
||||
{
|
||||
app.UseMiddleware<ApplicationInsightsMiddleware>();
|
||||
return app;
|
||||
}
|
||||
|
||||
public static IApplicationBuilder SetTelemetryDeveloperMode(this IApplicationBuilder app)
|
||||
public static IApplicationBuilder SetApplicationInsightsTelemetryDeveloperMode(this IApplicationBuilder app)
|
||||
{
|
||||
//do something
|
||||
return app;
|
||||
|
|
Загрузка…
Ссылка в новой задаче