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