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