14 references to TakeLast
aspire (2)
Commands\RunCommand.cs (1)
809
.
TakeLast
(MaxDisplayedAppHostStartupOutputLines)
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
403
.
TakeLast
(40)
aspire-tray (1)
TrayApplication.NativeSmoke.cs (1)
236
NativeSmokeHarness.Require(rootTitles.
TakeLast
(4).SequenceEqual(new[] { "Documentation", SettingsMenuLabel, "", "Quit Aspire" })
Aspire.Cli.Tests (1)
Commands\AppHostLauncherTests.cs (1)
230
Assert.Equal(["--isolated", "false"], harness.ProcessFactory.CreatedArguments!.
TakeLast
(2));
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\TraceTests.cs (1)
1385
.
TakeLast
(MaxTraceCount)
Aspire.Hosting.Tests (1)
Publishing\ResourceContainerImageManagerTests.cs (1)
1048
outputEvents.
TakeLast
(ProcessSpec.DefaultRetainedOutputLineCount).Select(static line => line.Value),
Aspire.Hosting.TestUtilities (1)
Utils\TestProcessRunner.cs (1)
113
processOutput = processOutput.
TakeLast
(retainedOutputLineCount).ToArray();
Aspire.Tray.Tests (2)
TraySavedStateTests.cs (2)
50
Assert.Equal(paths.
TakeLast
(10).Reverse(), saved.AppHosts.Where(host => host.IsRecent).Select(host => host.AppHostPath));
75
Assert.Equal(paths.
TakeLast
(limit).Reverse(), state.AppHosts.Where(host => host.IsRecent).Select(host => host.AppHostPath));
Microsoft.ML.Samples (2)
Dynamic\Trainers\Clustering\KMeans.cs (1)
51
foreach (var p in predictions.
TakeLast
(3))
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
59
foreach (var p in predictions.
TakeLast
(3))
testhost (1)
parent\testhost.x86\TestHostTraceListener.cs (1)
69
var stackTrace = new StackTrace(frames.
TakeLast
(frameCount)).ToString();
testhost.arm64 (1)
parent\testhost.x86\TestHostTraceListener.cs (1)
69
var stackTrace = new StackTrace(frames.
TakeLast
(frameCount)).ToString();
testhost.x86 (1)
TestHostTraceListener.cs (1)
69
var stackTrace = new StackTrace(frames.
TakeLast
(frameCount)).ToString();