10 references to Length
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\ModelStateDictionary.cs (1)
499
else if (valueProviderResult.
Length
== 1)
ModelBinding\ValueProviderResult.cs (2)
97
if (
Length
!= other.
Length
)
Microsoft.AspNetCore.Mvc.Abstractions.Test (5)
ModelBinding\ValueProviderResultTest.cs (5)
17
Assert.Equal(0, result.
Length
);
32
Assert.Equal(0, result.
Length
);
47
Assert.Equal(0, result.
Length
);
63
Assert.Equal(1, result.
Length
);
78
Assert.Equal(2, result.
Length
);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\JQueryFormValueProvider.cs (1)
41
if (result.
Length
> 0 && _invariantValueKeys?.Contains(key) == true)
RazorPagesWebSite (1)
PolymorphicModelBinder.cs (1)
15
if (ageValue.
Length
!= 0)