Class ServiceCollectionExtensions
Extensions methods for setting up the RequestService in an Microsoft.Extensions.DependencyInjection.IServiceCollection.
Inheritance
System.Object
ServiceCollectionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Geko.HttpClientService.Extensions
Assembly: Geko.HttpClientService.dll
Syntax
public static class ServiceCollectionExtensions
Methods
| Improve this Doc View SourceAddHttpClientService(IServiceCollection)
Adds services for the RequestService to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.
Declaration
public static IServiceCollection AddHttpClientService(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to. |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | An Microsoft.Extensions.DependencyInjection.IServiceCollection that can be used to further configure the MVC services. |