50 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)
269
Aspire.Hosting.InputType.
Number
=> Aspire.DashboardService.Proto.V1.InputType.Number,
283
Aspire.DashboardService.Proto.V1.InputType.Number => InputType.
Number
,
IInteractionService.cs (1)
711
/// <see cref="InputType.
Number
"/> accepts floating point values. Use <see cref="GetDouble(string)"/> for decimal values,
InteractionService.cs (1)
617
case InputType.
Number
:
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (2)
812
InputType = InputType.
Number
,
835
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)
305
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)
535
InputType = InputType.
Number
551
InputType = InputType.
Number
,
716
InputType = InputType.
Number
,
1345
InputType = InputType.
Number
,
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
50
InputType = InputType.
Number
,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
225
InputType = InputType.
Number
,
Stress.AppHost (15)
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
,
993
InputType = InputType.
Number
,
1002
InputType = InputType.
Number
,
1020
InputType = InputType.
Number
,
1037
InputType = InputType.
Number
,
1054
InputType = InputType.
Number
,
1072
InputType = InputType.
Number
,
1081
InputType = InputType.
Number
,
1321
InputType = InputType.
Number
,
InteractionCommands.cs (1)
236
var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople", InputType = InputType.
Number
, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true };