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