54 references to Number
Aspire.Hosting (6)
ApplicationModel\ResourceCommandService.cs (1)
640
case InputType.
Number
:
Ats\InteractionExports.cs (1)
205
return InteractionInputBuilder.Create(name, InputType.
Number
, options);
Dashboard\DashboardService.cs (2)
293
Aspire.Hosting.InputType.
Number
=> Aspire.DashboardService.Proto.V1.InputType.Number,
307
Aspire.DashboardService.Proto.V1.InputType.Number => InputType.
Number
,
IInteractionService.cs (1)
774
/// <see cref="InputType.
Number
"/> accepts floating point values. Use <see cref="GetDouble(string)"/> for decimal values,
InteractionService.cs (1)
660
case InputType.
Number
:
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (2)
1060
InputType = InputType.
Number
,
1083
Assert.Equal(InputType.
Number
, input.InputType);
Aspire.Hosting.Tests (26)
AddParameterTests.cs (10)
705
InputType = InputType.
Number
,
811
InputType = InputType.
Number
,
822
Assert.Equal(InputType.
Number
, input.InputType);
891
InputType = InputType.
Number
,
903
Assert.Equal(InputType.
Number
, input.InputType);
918
InputType = InputType.
Number
,
959
InputType = InputType.
Number
,
969
Assert.Equal(InputType.
Number
, input.InputType);
985
[nameof(InteractionInput.InputType)] = InputType.
Number
,
1001
Assert.Equal(InputType.
Number
, input.InputType);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (2)
2315
InputType = InputType.
Number
2431
InputType = InputType.
Number
Dashboard\DashboardServiceTests.cs (1)
310
InputType = InputType.
Number
InteractionServiceTests.cs (8)
466
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Number
};
475
inputs: [new InputDto("Value", "one", InputType.
Number
)]);
498
inputs: [new InputDto("Value", "maybe", InputType.
Number
)]);
685
new InteractionInput { Name = "Age", InputType = InputType.
Number
}
1019
new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.
Number
, Required = true }
1053
new InputDto("Age", "25", InputType.
Number
)
1086
new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.
Number
, Required = true }
1119
new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.
Number
, Required = true }
Orchestrator\ParameterProcessorTests.cs (1)
1315
InputType = InputType.
Number
,
ResourceCommandServiceTests.cs (4)
536
InputType = InputType.
Number
552
InputType = InputType.
Number
,
717
InputType = InputType.
Number
,
1448
InputType = InputType.
Number
,
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
55
InputType = InputType.
Number
,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
223
InputType = InputType.
Number
,
Stress.AppHost (16)
CommandResources.cs (14)
158
InputType = InputType.
Number
,
218
InputType = InputType.
Number
,
327
InputType = InputType.
Number
,
353
NumberCount = inputsWithValues.Count(i => i.InputType == InputType.
Number
),
452
InputType = InputType.
Number
,
725
InputType = InputType.
Number
,
1071
InputType = InputType.
Number
,
1080
InputType = InputType.
Number
,
1098
InputType = InputType.
Number
,
1115
InputType = InputType.
Number
,
1132
InputType = InputType.
Number
,
1150
InputType = InputType.
Number
,
1159
InputType = InputType.
Number
,
1399
InputType = InputType.
Number
,
InteractionCommands.cs (2)
236
var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople", InputType = InputType.
Number
, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true };
326
InputType = InputType.
Number
,
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
301
InputType = InputType.
Number
,
TestShop.AppHost (1)
AppHost.cs (1)
61
InputType = InputType.
Number
,