Table of Contents

Class IServiceProviderExtensions

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

Methods

GetApplicationInstanceInfo(IServiceProvider)

If an instance of IApplicationInstanceInfo is found, it is returned. Otherwise a default instance is returned.

public static IApplicationInstanceInfo GetApplicationInstanceInfo(this IServiceProvider sp)

Parameters

sp IServiceProvider

Provider of services

Returns

IApplicationInstanceInfo

An instance of IApplicationInstanceInfo