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)
297
Aspire.Hosting.InputType.
Number
=> Aspire.DashboardService.Proto.V1.InputType.Number,
311
Aspire.DashboardService.Proto.V1.InputType.Number => InputType.
Number
,
IInteractionService.cs (1)
784
/// <see cref="InputType.
Number
"/> accepts floating point values. Use <see cref="GetDouble(string)"/> for decimal values,
InteractionService.cs (1)
667
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)
737
InputType = InputType.
Number
,
843
InputType = InputType.
Number
,
854
Assert.Equal(InputType.
Number
, input.InputType);
923
InputType = InputType.
Number
,
935
Assert.Equal(InputType.
Number
, input.InputType);
950
InputType = InputType.
Number
,
991
InputType = InputType.
Number
,
1001
Assert.Equal(InputType.
Number
, input.InputType);
1017
[nameof(InteractionInput.InputType)] = InputType.
Number
,
1033
Assert.Equal(InputType.
Number
, input.InputType);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (2)
2320
InputType = InputType.
Number
2436
InputType = InputType.
Number
Dashboard\DashboardServiceTests.cs (1)
310
InputType = InputType.
Number
InteractionServiceTests.cs (8)
570
var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.
Number
};
579
inputs: [new InputDto("Value", "one", InputType.
Number
)]);
602
inputs: [new InputDto("Value", "maybe", InputType.
Number
)]);
789
new InteractionInput { Name = "Age", InputType = InputType.
Number
}
1123
new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.
Number
, Required = true }
1157
new InputDto("Age", "25", InputType.
Number
)
1190
new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.
Number
, Required = true }
1223
new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.
Number
, Required = true }
Orchestrator\ParameterProcessorTests.cs (1)
1315
InputType = InputType.
Number
,
ResourceCommandServiceTests.cs (4)
537
InputType = InputType.
Number
553
InputType = InputType.
Number
,
718
InputType = InputType.
Number
,
1450
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)
252
var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople", InputType = InputType.
Number
, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true };
342
InputType = InputType.
Number
,
Terminals.AppHost (1)
TerminalInteractionCommands.cs (1)
301
InputType = InputType.
Number
,
TestShop.AppHost (1)
AppHost.cs (1)
61
InputType = InputType.
Number
,