50 references to Number
Aspire.Hosting (6)
ApplicationModel\ResourceCommandService.cs (1)
640case InputType.Number:
Ats\InteractionExports.cs (1)
205return InteractionInputBuilder.Create(name, InputType.Number, options);
Dashboard\DashboardService.cs (2)
269Aspire.Hosting.InputType.Number => Aspire.DashboardService.Proto.V1.InputType.Number, 283Aspire.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)
617case InputType.Number:
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (2)
812InputType = InputType.Number, 835Assert.Equal(InputType.Number, input.InputType);
Aspire.Hosting.Tests (25)
AddParameterTests.cs (10)
406InputType = InputType.Number, 499InputType = InputType.Number, 510Assert.Equal(InputType.Number, input.InputType); 526InputType = InputType.Number, 538Assert.Equal(InputType.Number, input.InputType); 553InputType = InputType.Number, 594InputType = InputType.Number, 604Assert.Equal(InputType.Number, input.InputType); 620[nameof(InteractionInput.InputType)] = InputType.Number, 636Assert.Equal(InputType.Number, input.InputType);
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (2)
2273InputType = InputType.Number 2389InputType = InputType.Number
Dashboard\DashboardServiceTests.cs (1)
305InputType = InputType.Number
InteractionServiceTests.cs (8)
466var input = new InteractionInput { Name = "Value", Label = "Value", InputType = InputType.Number }; 475inputs: [new InputDto("Value", "one", InputType.Number)]); 498inputs: [new InputDto("Value", "maybe", InputType.Number)]); 685new InteractionInput { Name = "Age", InputType = InputType.Number } 1019new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1053new InputDto("Age", "25", InputType.Number) 1086new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true } 1119new InteractionInput { Name = "Age", Label = "Age", InputType = InputType.Number, Required = true }
ResourceCommandServiceTests.cs (4)
535InputType = InputType.Number 551InputType = InputType.Number, 716InputType = InputType.Number, 1345InputType = InputType.Number,
ParameterEndToEnd.AppHost (1)
AppHost.cs (1)
50InputType = InputType.Number,
Publishers.AppHost (1)
DistributedApplicationBuilderExtensions.cs (1)
225InputType = InputType.Number,
Stress.AppHost (15)
CommandResources.cs (14)
157InputType = InputType.Number, 217InputType = InputType.Number, 326InputType = InputType.Number, 352NumberCount = inputsWithValues.Count(i => i.InputType == InputType.Number), 451InputType = InputType.Number, 724InputType = InputType.Number, 993InputType = InputType.Number, 1002InputType = InputType.Number, 1020InputType = InputType.Number, 1037InputType = InputType.Number, 1054InputType = InputType.Number, 1072InputType = InputType.Number, 1081InputType = InputType.Number, 1321InputType = InputType.Number,
InteractionCommands.cs (1)
236var numberOfPeopleInput = new InteractionInput { Name = "NumberOfPeople", InputType = InputType.Number, Label = "Number of people", Placeholder = "Enter number of people", Value = "2", Required = true };