public static List <IServiceInfo> GetServiceInfos(this IConfiguration config, Type infoType) { CloudFoundryServiceInfoCreator factory = CloudFoundryServiceInfoCreator.Instance(config); return(factory.GetServiceInfos(infoType)); }
public static List <SI> GetServiceInfos <SI>(this IConfiguration config) where SI : class { CloudFoundryServiceInfoCreator factory = CloudFoundryServiceInfoCreator.Instance(config); return(factory.GetServiceInfos <SI>()); }