Ejemplo n.º 1
0
        public static List <IServiceInfo> GetServiceInfos(this IConfiguration config, Type infoType)
        {
            CloudFoundryServiceInfoCreator factory = CloudFoundryServiceInfoCreator.Instance(config);

            return(factory.GetServiceInfos(infoType));
        }
Ejemplo n.º 2
0
        public static List <SI> GetServiceInfos <SI>(this IConfiguration config) where SI : class
        {
            CloudFoundryServiceInfoCreator factory = CloudFoundryServiceInfoCreator.Instance(config);

            return(factory.GetServiceInfos <SI>());
        }