5 instantiations of ResourceSource
aspire (5)
src\Shared\Model\ResourceSourceViewModel.cs (5)
17
return new
ResourceSource
(Path.GetFileName(projectPath), projectPath);
24
return new
ResourceSource
(toolPackage, toolPackage);
30
return new
ResourceSource
(Path.GetFileName(executablePath), executablePath);
36
return new
ResourceSource
(containerImage, containerImage);
42
return new
ResourceSource
(source, source);
3 references to ResourceSource
aspire (3)
Backchannel\ResourceSnapshotMapper.cs (2)
110
var
sourceViewModel =
ResourceSource
.GetSourceModel(snapshot.ResourceType, snapshot.Properties);
src\Shared\Model\ResourceSourceViewModel.cs (1)
10
public static
ResourceSource
? GetSourceModel(string? resourceType, IReadOnlyDictionary<string, string?> properties)