10 references to Executable
Aspire.Dashboard (7)
Model\KnownPropertyLookup.cs (5)
38
new(KnownProperties.
Executable
.Pid, loc => loc[nameof(ResourcesDetailsExecutableProcessIdProperty)]),
44
new(KnownProperties.
Executable
.Path, loc => loc[nameof(ResourcesDetailsExecutablePathProperty)]),
45
new(KnownProperties.
Executable
.WorkDir, loc => loc[nameof(ResourcesDetailsExecutableWorkingDirectoryProperty)]),
46
new(KnownProperties.
Executable
.Args, loc => loc[nameof(ResourcesDetailsExecutableArgumentsProperty)]),
47
new(KnownProperties.
Executable
.Pid, loc => loc[nameof(ResourcesDetailsExecutableProcessIdProperty)]),
Model\ResourceViewModelExtensions.cs (2)
54
return resource.TryGetCustomDataString(KnownProperties.
Executable
.Path, out executablePath);
59
return resource.TryGetCustomDataStringArray(KnownProperties.
Executable
.Args, out arguments);
Aspire.Dashboard.Tests (3)
Model\ResourceSourceViewModelTests.cs (3)
19
AddStringProperty(KnownProperties.
Executable
.Path, testData.ExecutablePath);
26
properties.TryAdd(KnownProperties.
Executable
.Args, new ResourcePropertyViewModel(KnownProperties.
Executable
.Args, Value.ForList(testData.ExecutableArguments.Select(Value.ForString).ToArray()), false, null, 0));