25 writes to MaxLength
Aspire.Hosting (4)
ApplicationModel\ResourceCommandService.cs (1)
814MaxLength = input.MaxLength
Ats\InteractionExports.cs (2)
269MaxLength = input.MaxLength, 320MaxLength = options?.MaxLength,
ParameterResourceBuilderExtensions.cs (1)
306MaxLength = options.MaxLength
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceExtensionsTests.cs (1)
5339MaxLength = input.MaxLength
Aspire.Hosting.Tests (3)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (1)
227MaxLength = 128,
InteractionServiceTests.cs (2)
522var input = new InteractionInput { Name = "Value", Label = "Value", InputType = inputType, MaxLength = maxLength }; 632MaxLength = length
Stress.AppHost (17)
CommandResources.cs (15)
211MaxLength = 80 306MaxLength = 80 584MaxLength = 100 658MaxLength = 100 667MaxLength = 100 793MaxLength = 100 802MaxLength = 200 831MaxLength = 500 840MaxLength = 100 849MaxLength = 100 879MaxLength = 100 889MaxLength = 200 899MaxLength = 200 1392MaxLength = 64 1424MaxLength = 64
InteractionCommands.cs (2)
239new InteractionInput { Name = "Name", InputType = InputType.Text, Label = "Name", Description = "The name for the dinner reservation. Maximum 50 characters.", Placeholder = "Enter name", Required = true, MaxLength = 50 }, 240new InteractionInput { Name = "Password", InputType = InputType.SecretText, Label = "Password", Description = "The password for the reservation. Maximum 20 characters.", Placeholder = "Enter password", Required = true, MaxLength = 20 },
10 references to MaxLength
Aspire.Hosting (7)
ApplicationModel\ResourceCommandService.cs (2)
621var maxLength = InteractionHelpers.GetMaxLength(argument.MaxLength); 814MaxLength = input.MaxLength
Ats\InteractionExports.cs (1)
269MaxLength = input.MaxLength,
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1404MaxLength = input.MaxLength,
Dashboard\DashboardService.cs (2)
256if (input.MaxLength != null) 258dto.MaxLength = input.MaxLength.Value;
InteractionService.cs (1)
637var maxLength = InteractionHelpers.GetMaxLength(input.MaxLength);
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceExtensionsTests.cs (1)
5339MaxLength = input.MaxLength
Aspire.Hosting.Tests (2)
AddParameterTests.cs (2)
994[nameof(InteractionInput.MaxLength)] = 2 1008Assert.Equal(2, input.MaxLength);