AnalysisServiceCollectionExtensions.AddMiddlewareAnalysis(IServiceCollection) AnalysisServiceCollectionExtensions.AddMiddlewareAnalysis(IServiceCollection) AnalysisServiceCollectionExtensions.AddMiddlewareAnalysis(IServiceCollection) AnalysisServiceCollectionExtensions.AddMiddlewareAnalysis(IServiceCollection) Method

Definition

Adds diagnostic services to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddMiddlewareAnalysis(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddMiddlewareAnalysis (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddMiddlewareAnalysis : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddMiddlewareAnalysis (services As IServiceCollection) As IServiceCollection

Parameters

services
Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.

Applies to