Class ServiceCollectionExtensions
Inheritance
System.Object
ServiceCollectionExtensions
Namespace: Steeltoe.Common.Extensions
Assembly: Steeltoe.Common.dll
Syntax
public static class ServiceCollectionExtensions : object
Methods
| Edit this page View SourceAddApplicationInstanceInfo(IServiceCollection)
Registers ApplicationInstanceInfo for use with the options pattern. It is also registered as IApplicationInstanceInfo in the IoC container for easy access.
Declaration
public static IServiceCollection AddApplicationInstanceInfo(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | The |
Returns
Type | Description |
---|---|
IServiceCollection | The incoming |