Beispiel #1
0
 public IEnumerable <MicroServiceProviderConfig> FindMicroServiceProviderByType(string type)
 {
     return(MicroServiceProviders.Where(x => type == null || type == "all" || x.Type == type));
 }
Beispiel #2
0
 public MicroServiceProviderConfig FindMicroServiceProviderByName(string name)
 {
     return(MicroServiceProviders.FirstOrDefault(x => x.Name == name));
 }