23 references to KnownProperties
Aspire.Hosting (23)
ApplicationModel\CustomResourceKnownProperties.cs (1)
16public static string Source { get; } = KnownProperties.Resource.Source;
Dashboard\ResourceSnapshot.cs (7)
34yield return (KnownProperties.Resource.Uid, Value.ForString(Uid)); 35yield return (KnownProperties.Resource.Name, Value.ForString(Name)); 36yield return (KnownProperties.Resource.Type, Value.ForString(ResourceType)); 37yield return (KnownProperties.Resource.DisplayName, Value.ForString(DisplayName)); 38yield return (KnownProperties.Resource.State, State is null ? Value.ForNull() : Value.ForString(State)); 39yield return (KnownProperties.Resource.ExitCode, ExitCode is null ? Value.ForNull() : Value.ForString(ExitCode.Value.ToString("D", CultureInfo.InvariantCulture))); 40yield return (KnownProperties.Resource.CreateTime, CreationTimeStamp is null ? Value.ForNull() : Value.ForString(CreationTimeStamp.Value.ToString("O")));
Dcp\ApplicationExecutor.cs (15)
603new(KnownProperties.Container.Image, container.Spec.Image), 604new(KnownProperties.Container.Id, containerId), 605new(KnownProperties.Container.Command, container.Spec.Command), 606new(KnownProperties.Container.Args, container.Status?.EffectiveArgs ?? []), 607new(KnownProperties.Container.Ports, GetPorts()), 658new(KnownProperties.Executable.Path, executable.Spec.ExecutablePath), 659new(KnownProperties.Executable.WorkDir, executable.Spec.WorkingDirectory), 660new(KnownProperties.Executable.Args, executable.Status?.EffectiveArgs ?? []), 661new(KnownProperties.Executable.Pid, executable.Status?.ProcessId), 662new(KnownProperties.Project.Path, projectPath) 676new(KnownProperties.Executable.Path, executable.Spec.ExecutablePath), 677new(KnownProperties.Executable.WorkDir, executable.Spec.WorkingDirectory), 678new(KnownProperties.Executable.Args, executable.Status?.EffectiveArgs ?? []), 679new(KnownProperties.Executable.Pid, executable.Status?.ProcessId) 1442new(KnownProperties.Container.Image, cr.ModelResource.TryGetContainerImageName(out var imageName) ? imageName : ""),