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