1
0
Форкнуть 0

rename Use methods to have ApplicationInsights prefix

This commit is contained in:
Sergey Kanzhelev 2015-03-17 21:18:43 -07:00
Родитель d5ab49e1fe
Коммит ee0da53636
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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;