5 instantiations of ResourceSource
Aspire.Dashboard (5)
src\Shared\Model\ResourceSourceViewModel.cs (5)
24return new ResourceSource(Path.GetFileName(projectPath), projectPath, KnownProperties.Project.Path); 31return new ResourceSource(toolPackage, toolPackage, KnownProperties.Tool.Package); 37return new ResourceSource(Path.GetFileName(executablePath), executablePath, KnownProperties.Executable.Path); 43return new ResourceSource(containerImage, containerImage, KnownProperties.Container.Image); 49return new ResourceSource(source, source, KnownProperties.Resource.Source);
3 references to ResourceSource
Aspire.Dashboard (3)
Model\ResourceSourceViewModel.cs (2)
24var source = ResourceSource.GetSourceModel(resource.ResourceType, properties);
src\Shared\Model\ResourceSourceViewModel.cs (1)
10public static ResourceSource? GetSourceModel(string? resourceType, IReadOnlyDictionary<string, string?> properties)