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
Methods
GetServiceInfo(string)
Get a named Service Info
public IServiceInfo GetServiceInfo(string name)
Parameters
name
stringName 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
stringService 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
TypeService 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