52 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)
292
Aspire.Hosting.InputType.
Number
=> Aspire.DashboardService.Proto.V1.InputType.Number,
306
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)
871
InputType = InputType.
Number
,
894
Assert.Equal(InputType.
Number
, input.InputType);
Aspire.Hosting.Tests (25)
AddParameterTests.cs (10)
406
InputType = InputType.
Number
,
499
InputType = InputType.
Number
,
510
Assert.Equal(InputType.
Number
, input.InputType);
526
InputType = InputType.
Number
,
538
Assert.Equal(InputType.
Number
, input.InputType);
553
InputType = InputType.
Number
,
594
InputType = InputType.
Number
,
604
Assert.Equal(InputType.
Number
, input.InputType);
620
[nameof(InteractionInput.InputType)] = InputType.
Number
,
636
Assert.Equal(InputType.
Number
, input.InputType);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (2)
2273
InputType = InputType.
Number
2389
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 }
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)
50
InputType = InputType.
Number
,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
223
InputType = InputType.
Number
,
Stress.AppHost (16)
CommandResources.cs (14)
157
InputType = InputType.
Number
,
217
InputType = InputType.
Number
,
326
InputType = InputType.
Number
,
352
NumberCount = inputsWithValues.Count(i => i.InputType == InputType.
Number
),
451
InputType = InputType.
Number
,
724
InputType = InputType.
Number
,
1070
InputType = InputType.
Number
,
1079
InputType = InputType.
Number
,
1097
InputType = InputType.
Number
,
1114
InputType = InputType.
Number
,
1131
InputType = InputType.
Number
,
1149
InputType = InputType.
Number
,
1158
InputType = InputType.
Number
,
1398
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
,