public Uri GetResourceUrl()

in JetBrains.Profiler.SelfApi/src/Impl/NuGet.cs [384:391]


        public Uri GetResourceUrl(string resourceType)
        {
          var resource = Resources.FirstOrDefault(x => x.Type == resourceType);
          if (resource == null || string.IsNullOrEmpty(resource.Id))
            throw new InvalidOperationException($"Something went wrong: unable to find `{resourceType}`");

          return new Uri(resource.Id);
        }