8 implementations of GetResource
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (1)
821public ResourceViewModel? GetResource(string resourceName)
ServiceClient\SelectedDashboardClient.cs (1)
35public ResourceViewModel? GetResource(string resourceName) => dataSource.ResourceRepository.GetResource(resourceName);
ServiceClient\SqliteResourceRepository.cs (1)
46public ResourceViewModel? GetResource(string resourceName)
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
174public ResourceViewModel? GetResource(string resourceName) => null;
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
83public ResourceViewModel? GetResource(string resourceName) => null;
ResourceOutgoingPeerResolverTests.cs (1)
697public ResourceViewModel? GetResource(string resourceName) => null;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
160public ResourceViewModel? GetResource(string resourceName) => null;
tests\Shared\TestDashboardClient.cs (1)
174public ResourceViewModel? GetResource(string resourceName) => null;
2 references to GetResource
Aspire.Dashboard (2)
Components\Controls\PropertyValues\ResourceNameButtonValue.razor.cs (1)
45_resource = DataSource.ResourceRepository.GetResource(Resource.ResourceKey.ToString());
ServiceClient\SelectedDashboardClient.cs (1)
35public ResourceViewModel? GetResource(string resourceName) => dataSource.ResourceRepository.GetResource(resourceName);