Definition
Assembly: Microsoft.Extensions.DependencyInjection.Abstractions.dll Namespace: Microsoft.Extensions.DependencyInjectionSyntax
Summary
This type is defined in Microsoft.Extensions.DependencyInjection.Abstractions.Remarks
See Microsoft documentation for more information about the rest of the API.Methods
AddConfigurationBase Extension
Extension method from
Microsoft.Extensions.DependencyInjection.EasyAF_Configuration_IServiceCollectionExtensionsSyntax
Parameters
Returns
Type:TConfiguration
The bound configuration instance for immediate use or further configuration.
Type Parameters
TConfiguration- The type of configuration class that inherits from ConfigurationBase.
Examples
AddHttpClients Extension
Extension method from
Microsoft.Extensions.DependencyInjection.EasyAF_Http_IServiceCollectionExtensionsSyntax
Parameters
Returns
Type:Microsoft.Extensions.DependencyInjection.IServiceCollection
The service collection for method chaining.
Type Parameters
TConfig- The configuration type that contains HTTP endpoint definitions.TMessageHandler- The type of message handler to add to the HTTP clients.
AddHttpClients Extension
Extension method from
Microsoft.Extensions.DependencyInjection.EasyAF_Http_IServiceCollectionExtensionsSyntax
Parameters
Returns
Type:Microsoft.Extensions.DependencyInjection.IServiceCollection
The service collection for method chaining.
Type Parameters
TConfig- The configuration type that contains HTTP endpoint definitions.TMessageHandler- The type of message handler to add to the HTTP clients.