28 instantiations of InputsDialogInteractionOptions
Aspire.Hosting (6)
ApplicationModel\ResourceCommandService.cs (1)
714
new
InputsDialogInteractionOptions
Ats\InteractionExports.cs (1)
746
return new
InputsDialogInteractionOptions
IInteractionService.cs (1)
887
internal static new InputsDialogInteractionOptions Default { get; } =
new
();
Orchestrator\ParameterProcessor.cs (3)
448
new
InputsDialogInteractionOptions
507
new
InputsDialogInteractionOptions
817
new
InputsDialogInteractionOptions
Aspire.Hosting.Azure (8)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (7)
129
new
InputsDialogInteractionOptions
198
new
InputsDialogInteractionOptions
224
new
InputsDialogInteractionOptions
297
new
InputsDialogInteractionOptions
323
new
InputsDialogInteractionOptions
399
new
InputsDialogInteractionOptions
489
new
InputsDialogInteractionOptions
Provisioning\Internal\RunModeProvisioningContextProvider.cs (1)
294
new
InputsDialogInteractionOptions
Aspire.Hosting.Tests (2)
InteractionServiceTests.cs (2)
470
new
InputsDialogInteractionOptions
1127
var options = new
InputsDialogInteractionOptions
Publishers.AppHost (2)
DistributedApplicationBuilderExtensions.cs (2)
103
new
InputsDialogInteractionOptions
154
new
()
Stress.AppHost (10)
InteractionCommands.cs (10)
79
_ = await interactionService.PromptInputAsync("Text <strong>request</strong>", "Provide **your** name. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui. For more information about the `IInteractionService`, see https://learn.microsoft.com.", inputHasMarkdown, new
InputsDialogInteractionOptions
{ EnableMessageMarkdown = true });
80
_ = await interactionService.PromptInputAsync("Text <strong>request</strong>", "Provide **your** name.\r\n\r\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id massa arcu. Morbi ac risus eget augue venenatis hendrerit. Morbi posuere, neque id efficitur ultrices, velit augue suscipit ante, vitae lacinia elit risus nec dui.\r\n\r\nFor more information about the `IInteractionService`, see https://learn.microsoft.com.", inputHasMarkdown, new
InputsDialogInteractionOptions
{ EnableMessageMarkdown = true });
117
new
InputsDialogInteractionOptions
{ EnableMessageMarkdown = true });
129
options: new
InputsDialogInteractionOptions
266
options: new
InputsDialogInteractionOptions
490
options: new
InputsDialogInteractionOptions
590
options: new
InputsDialogInteractionOptions
655
options: new
InputsDialogInteractionOptions
{ ShowDismiss = showDismiss },
850
new
InputsDialogInteractionOptions
1147
options: new
InputsDialogInteractionOptions
{ EnableMessageMarkdown = true },
37 references to InputsDialogInteractionOptions
Aspire.Hosting (15)
Ats\InteractionExports.cs (1)
744
internal
InputsDialogInteractionOptions
ToOptions()
Dashboard\DashboardServiceData.cs (2)
222
var
options = (
InputsDialogInteractionOptions
)interaction.Options;
IInteractionService.cs (4)
66
Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default);
79
Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default);
92
Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default);
887
internal static new
InputsDialogInteractionOptions
Default { get; } = new();
InteractionService.cs (6)
149
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
154
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
165
public async Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
204
options ??=
InputsDialogInteractionOptions
.Default;
682
var
options = (
InputsDialogInteractionOptions
)interactionState.Options;
Pipelines\PipelineActivityReporter.cs (2)
412
var
options = (
InputsDialogInteractionOptions
)interaction.Options;
Aspire.Hosting.Azure.Tests (9)
AzureEnvironmentResourceExtensionsTests.cs (2)
763
var
inputOptions = Assert.IsType<
InputsDialogInteractionOptions
>(inputs.Options);
ProvisioningContextProviderTests.cs (4)
544
var
interactionOptions = Assert.IsType<
InputsDialogInteractionOptions
>(inputsInteraction.Options);
660
var
inputOptions = Assert.IsType<
InputsDialogInteractionOptions
>(inputsInteraction.Options);
tests\Shared\TestInteractionService.cs (3)
38
public Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
43
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
51
public async Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Browsers.Tests (3)
tests\Shared\TestInteractionService.cs (3)
38
public Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
43
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
51
public async Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.DevTunnels.Tests (3)
tests\Shared\TestInteractionService.cs (3)
38
public Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
43
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
51
public async Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.RemoteHost.Tests (3)
tests\Shared\TestInteractionService.cs (3)
38
public Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
43
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
51
public async Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (4)
InteractionServiceTests.cs (1)
1127
var
options = new InputsDialogInteractionOptions
tests\Shared\TestInteractionService.cs (3)
38
public Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, string inputLabel, string placeHolder,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
43
public async Task<InteractionResult<InteractionInput>> PromptInputAsync(string title, string? message, InteractionInput input,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)
51
public async Task<InteractionResult<InteractionInputCollection>> PromptInputsAsync(string title, string? message, IReadOnlyList<InteractionInput> inputs,
InputsDialogInteractionOptions
? options = null, CancellationToken cancellationToken = default)