Table of Contents

Class CloudFoundryServiceInfoCreator

Namespace
Steeltoe.CloudFoundry.Connector
Assembly
Steeltoe.CloudFoundry.ConnectorBase.dll
public class CloudFoundryServiceInfoCreator
Inheritance
CloudFoundryServiceInfoCreator
Inherited Members

Properties

ServiceInfos

public IList<IServiceInfo> ServiceInfos { get; }

Property Value

IList<IServiceInfo>

Methods

GetServiceInfo(string)

Get a named Service Info

public IServiceInfo GetServiceInfo(string name)

Parameters

name string

Name of service info

Returns

IServiceInfo

Service info

GetServiceInfo<SI>(string)

Get a named service

public SI GetServiceInfo<SI>(string name) where SI : class

Parameters

name string

Service name

Returns

SI

Service info or null

Type Parameters

SI

Service Info type

GetServiceInfos(Type)

Get all Service Infos of type

public List<IServiceInfo> GetServiceInfos(Type type)

Parameters

type Type

Service Info Type to retrieve

Returns

List<IServiceInfo>

List of matching Service Infos

GetServiceInfos<SI>()

Get all Service Infos of type

public List<SI> GetServiceInfos<SI>() where SI : class

Returns

List<SI>

List of matching Service Infos

Type Parameters

SI

Service Info Type to retrieve

Instance(IConfiguration)

public static CloudFoundryServiceInfoCreator Instance(IConfiguration config)

Parameters

config IConfiguration

Returns

CloudFoundryServiceInfoCreator