/// <inheritdoc /> public Task <string> GetOpenUrl(BuildSourceType buildSourceType, string buildLocation) { string path = PathEncoder.GetEncoded(buildLocation); string result = settings.BaseUrlsToOpenBuilds.TryGetValue(buildSourceType, out string baseUrl) ? Path.Combine(baseUrl, path) : throw new NotSupportedException($"Не удалось найти базовый путь для {buildSourceType:G}"); return(Task.FromResult(result)); }