using Godot; using NuGet.Versioning; using SharpIDE.Application.Features.Evaluation; using SharpIDE.Application.Features.Nuget; using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence; using SharpIDE.Godot.Features.Problems; namespace SharpIDE.Godot.Features.Nuget; public partial class NugetPackageDetails : VBoxContainer { private TextureRect _packageIconTextureRect = null!; private Label _packageNameLabel = null!; private OptionButton _versionOptionButton = null!; private OptionButton _nugetSourceOptionButton = null!; private VBoxContainer _projectsVBoxContainer = null!; private IdePackageResult? _package; private readonly Texture2D _defaultIconTextureRect = ResourceLoader.Load("uid://b5ih61vdjv5e6"); private readonly Texture2D _warningIconTextureRect = ResourceLoader.Load("uid://pd3h5qfjn8pb"); private readonly PackedScene _packageDetailsProjectEntryScene = ResourceLoader.Load("uid://5uan5u23cr2s"); [Inject] private readonly NugetPackageIconCacheService _nugetPackageIconCacheService = null!; [Inject] private readonly NugetClientService _nugetClientService = null!; public override void _Ready() { _packageIconTextureRect = GetNode("%PackageIconTextureRect"); _packageNameLabel = GetNode