Table of Contents

Class ServiceCollectionExtensions

Namespace
Steeltoe.Common.Extensions
Assembly
Steeltoe.Common.dll
public static class ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions
Inherited Members

Methods

AddApplicationInstanceInfo(IServiceCollection)

Registers ApplicationInstanceInfo for use with the options pattern. It is also registered as IApplicationInstanceInfo in the IoC container for easy access.

public static IServiceCollection AddApplicationInstanceInfo(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

The incoming services so that additional calls can be chained.