8 implementations of GetResource
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (1)
855public ResourceViewModel? GetResource(string resourceName)
ServiceClient\SelectedDashboardClient.cs (1)
39public ResourceViewModel? GetResource(string resourceName) => dataSource.ResourceRepository.GetResource(resourceName);
ServiceClient\SqliteResourceRepository.cs (1)
52public ResourceViewModel? GetResource(string resourceName)
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
248public ResourceViewModel? GetResource(string resourceName) => null;
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
97public ResourceViewModel? GetResource(string resourceName) => null;
ResourceOutgoingPeerResolverTests.cs (1)
700public ResourceViewModel? GetResource(string resourceName) => null;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
163public ResourceViewModel? GetResource(string resourceName) => null;
tests\Shared\TestDashboardClient.cs (1)
248public 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)
39public ResourceViewModel? GetResource(string resourceName) => dataSource.ResourceRepository.GetResource(resourceName);