13 references to ProcessCommandArgs
aspire (2)
Telemetry\ProfilingTelemetry.cs (2)
795
activity.SetTag(Tags.
ProcessCommandArgs
, args.ToArray());
1174
public void SetProcessCommandArgs(IReadOnlyList<string> args) => SetTag(Tags.
ProcessCommandArgs
, args.ToArray());
Aspire.Cli.Tests (11)
Git\GitRepositoryTests.cs (1)
138
Assert.Equal(new[] { "ls-files", "--cached", "--others", "--exclude-standard", "-z" }, Assert.IsType<string[]>(startedActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
Projects\GuestRuntimeTests.cs (3)
303
Assert.Equal(new[] { "tsc", "--noEmit", "-p", "tsconfig.apphost.json" }, Assert.IsType<string[]>(preExecuteActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
312
Assert.Equal(new[] { "tsx", "--tsconfig", "tsconfig.apphost.json", appHostFile.FullName }, Assert.IsType<string[]>(executeActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
813
Assert.Equal(new[] { "--version" }, Assert.IsType<string[]>(activity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
Telemetry\ProfilingTelemetryTests.cs (7)
85
Assert.Equal(new[] { "run", "--project", "AppHost" }, Assert.IsType<string[]>(spawnActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
94
Assert.Equal(new[] { "exec", "--", "tsx", "apphost.ts" }, Assert.IsType<string[]>(npmActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
103
Assert.Equal(new[] { "run", "--project", "AppHost" }, Assert.IsType<string[]>(dotnetActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
112
Assert.Equal(new[] { "ls-files", "--cached" }, Assert.IsType<string[]>(gitActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
148
Assert.Equal(new[] { "run", "--apphost", "AppHost", "--", "<redacted>", "<redacted>" }, Assert.IsType<string[]>(spawnActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
153
Assert.Equal(new[] { "run", "--project", "AppHost", "--", "<redacted>", "<redacted>" }, Assert.IsType<string[]>(dotnetActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));
158
Assert.Equal(new[] { "--from-msbuild", "value", "<redacted>", "<redacted>" }, Assert.IsType<string[]>(directActivity.GetTagItem(ProfilingTelemetry.Tags.
ProcessCommandArgs
)));