internal Store GetStoreByHostName(string host) { if (!string.IsNullOrEmpty(host) && HostMap.TryGetValue(host, out var id)) { return(Stores.Get(id)); } return(null); }