60 references to Invoke
Aspire.Azure.AI.OpenAI.Tests (6)
AzureOpenAISettingsTests.cs (4)
14RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose(); 21RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 22RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose();
ConformanceTests.cs (2)
87=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTelemetry()).Dispose(); 91=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTelemetry()).Dispose();
Aspire.Azure.Data.Tables.Tests (2)
ConformanceTests.cs (2)
115=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 119=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Messaging.EventHubs.Tests (2)
AzureMessagingEventHubsSettingsTests.cs (2)
14RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), EnableTracingForAzureSdk()).Dispose();
Aspire.Azure.Messaging.ServiceBus.Tests (6)
AzureMessagingServiceBusSettingsTests.cs (2)
14RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), ConformanceTests.EnableTracingForAzureSdk()).Dispose();
ConformanceTests_Queue.cs (2)
37=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTracingForAzureSdk()).Dispose(); 41=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTracingForAzureSdk()).Dispose();
ConformanceTests_Topic.cs (2)
38=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTracingForAzureSdk()).Dispose(); 42=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTracingForAzureSdk()).Dispose();
Aspire.Azure.Search.Documents.Tests (2)
ConformanceTests.cs (2)
87=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 91=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Security.KeyVault.Tests (2)
ConformanceTests.cs (2)
107=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 111=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Storage.Blobs.Tests (2)
ConformanceTests.cs (2)
116=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 120=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Azure.Storage.Queues.Tests (2)
ConformanceTests.cs (2)
118=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose(); 122=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key")).Dispose();
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (1)
ConformanceTests.cs (1)
104RemoteExecutor.Invoke(() => ActivitySourceTest(key: null)).Dispose();
Aspire.OpenAI.Tests (6)
ConformanceTests.cs (2)
69=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: null), EnableTelemetry()).Dispose(); 73=> RemoteExecutor.Invoke(() => ActivitySourceTest(key: "key"), EnableTelemetry()).Dispose();
OpenAISettingsTests.cs (4)
14RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 15RemoteExecutor.Invoke(() => EnsureMetricsIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose(); 21RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(true)).Dispose(); 22RemoteExecutor.Invoke(() => EnsureTracingIsEnabledWhenAzureSwitchIsSet(false), EnableTelemetry()).Dispose();
Microsoft.AspNetCore.Components.Tests (1)
ParameterViewTest.Assignment.cs (1)
610using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (2)
3225using var remoteHandle = RemoteExecutor.Invoke(static () => 3245using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Http.Results.Tests (4)
ResultsOfTHelperTests.cs (4)
23using var remoteHandle = RemoteExecutor.Invoke(static () => 40using var remoteHandle = RemoteExecutor.Invoke(static () => 57using var remoteHandle = RemoteExecutor.Invoke(static () => 72using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Mvc.Core.Test (2)
JsonOptionsTest.cs (2)
19using var remoteHandle = RemoteExecutor.Invoke(static () => 37using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (3)
644using var remoteHandle = RemoteExecutor.Invoke(static () => 669using var remoteHandle = RemoteExecutor.Invoke(static () => 1020using var remoteHandle = RemoteExecutor.Invoke(static () =>
Microsoft.DotNet.RemoteExecutor.Tests (3)
RemoteExecutorTests.cs (3)
16RemoteInvokeHandle h = RemoteExecutor.Invoke(() => { }, new RemoteInvokeOptions { RollForward = "Major" }); 129RemoteExecutor.Invoke(() => 141RemoteExecutor.Invoke(() =>
System.Drawing.Common.Tests (2)
System\Drawing\IconTests.cs (2)
574RemoteExecutor.Invoke(() => 597RemoteExecutor.Invoke(() =>
System.Windows.Forms.Tests (12)
System\Windows\Forms\Application.ParkingWindowTests.cs (1)
14using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() =>
System\Windows\Forms\ApplicationTests.cs (2)
78RemoteExecutor.Invoke(() => 92RemoteExecutor.Invoke(() =>
System\Windows\Forms\DataGridViewHeaderCellTests.cs (6)
3866RemoteExecutor.Invoke(() => 4056RemoteExecutor.Invoke(() => 4163RemoteExecutor.Invoke(() => 4195RemoteExecutor.Invoke(() => 4545RemoteExecutor.Invoke(() => 4578RemoteExecutor.Invoke(() =>
System\Windows\Forms\ProfessionalColorTableTests.cs (1)
189using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() =>
System\Windows\Forms\TaskDialogTests.cs (2)
14using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() => 38using RemoteInvokeHandle invokerHandle = RemoteExecutor.Invoke(() =>