120 references to Interactions
Aspire.Hosting.Tests (120)
AtsInteractionExportsTests.cs (2)
29
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
56
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
Dcp\DcpHostNotificationTests.cs (13)
112
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
156
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
208
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
253
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
299
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
354
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
421
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
925
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
962
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
1010
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
1060
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
1105
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
1158
var interaction = await interactionService.
Interactions
.Reader.ReadAsync(cts.Token).DefaultTimeout();
DotnetProgramPublishingTests.cs (3)
390
var interaction = await interactions.
Interactions
.Reader.ReadAsync(TestContext.Current.CancellationToken).AsTask().DefaultTimeout();
399
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
419
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
Orchestrator\ParameterProcessorTests.cs (63)
141
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
160
Assert.False(interactionService.
Interactions
.Reader.TryRead(out _));
174
var messageBarInteraction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
178
var inputsInteraction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
281
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
289
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
374
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
385
Assert.False(testInteractionService.
Interactions
.Reader.TryRead(out _));
388
Assert.False(testInteractionService.
Interactions
.Reader.TryRead(out _));
395
var newNotification = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
425
var prompt = await interactions.
Interactions
.Reader.ReadAsync().DefaultTimeout();
434
prompt = await interactions.
Interactions
.Reader.ReadAsync().DefaultTimeout();
443
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
453
prompt = await interactions.
Interactions
.Reader.ReadAsync().DefaultTimeout();
461
prompt = await interactions.
Interactions
.Reader.ReadAsync().DefaultTimeout();
468
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
558
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
562
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
608
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
612
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
651
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
655
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
686
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync();
690
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync();
725
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync();
729
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync();
1291
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1322
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1325
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1369
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1372
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1399
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1403
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1427
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1470
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1625
var notification = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1627
var prompt = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1649
var notification = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1651
var prompt = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1850
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1853
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1891
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1894
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1935
var messageBarInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1938
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2021
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
2026
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
2051
Assert.False(testInteractionService.
Interactions
.Reader.TryRead(out _));
2116
notification = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2168
interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2170
interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2179
interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2181
interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2284
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
2334
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2372
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2419
var notification = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2459
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
2463
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
2510
var setInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2520
var deleteInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
2532
var notificationInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
2536
var inputsInteraction = await testInteractionService.
Interactions
.Reader.ReadAsync().AsTask().DefaultTimeout();
Publishing\ContainerRuntimeReadinessTests.cs (8)
26
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
42
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
57
var interaction = await interactions.
Interactions
.Reader.ReadAsync(TestContext.Current.CancellationToken).AsTask().DefaultTimeout();
64
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
87
var interaction = await interactions.
Interactions
.Reader.ReadAsync(TestContext.Current.CancellationToken).AsTask().DefaultTimeout();
96
Assert.False(interactions.
Interactions
.Reader.TryRead(out _));
131
var interaction = await interactions.
Interactions
.Reader.ReadAsync(TestContext.Current.CancellationToken).AsTask().DefaultTimeout();
164
var interaction = await interactions.
Interactions
.Reader.ReadAsync(TestContext.Current.CancellationToken).AsTask().DefaultTimeout();
RequiredCommandAnnotationTests.cs (4)
403
var interaction = await testInteractionService.
Interactions
.Reader.ReadAsync();
434
Assert.False(testInteractionService.
Interactions
.Reader.TryRead(out _));
459
var interaction = await testInteractionService.
Interactions
.Reader.ReadAsync();
467
Assert.False(testInteractionService.
Interactions
.Reader.TryRead(out _));
ResourceCommandServiceTests.cs (5)
1299
var interaction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1473
var interaction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1530
Assert.False(testInteractionService.
Interactions
.Reader.TryRead(out _));
1868
var interaction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
1921
var interaction = await testInteractionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
tests\Shared\TestInteractionService.cs (5)
46
Interactions
.Writer.TryWrite(data);
54
Interactions
.Writer.TryWrite(data);
69
Interactions
.Writer.TryWrite(data);
76
Interactions
.Writer.TryWrite(data);
112
Interactions
.Writer.TryWrite(data);
VersionChecking\VersionCheckServiceTests.cs (17)
37
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
97
interactionService.
Interactions
.Writer.Complete();
101
Assert.False(interactionService.
Interactions
.Reader.TryRead(out var _));
131
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
174
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
181
interactionService.
Interactions
.Writer.Complete();
182
Assert.False(interactionService.
Interactions
.Reader.TryRead(out var _));
212
interactionService.
Interactions
.Writer.Complete();
217
Assert.False(interactionService.
Interactions
.Reader.TryRead(out var _));
241
interactionService.
Interactions
.Writer.Complete();
246
Assert.False(interactionService.
Interactions
.Reader.TryRead(out var _));
282
interactionService.
Interactions
.Writer.Complete();
283
Assert.False(interactionService.
Interactions
.Reader.TryRead(out var _));
287
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
317
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
346
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();
374
var interaction = await interactionService.
Interactions
.Reader.ReadAsync().DefaultTimeout();