15 references to Results
Microsoft.AspNetCore.Mvc.Core.Test (15)
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (15)
787
binder.
Results
[property] = ModelBindingResult.Failed();
821
binder.
Results
[property] = ModelBindingResult.Failed();
857
binder.
Results
[property] = ModelBindingResult.Success(model: null);
886
binder.
Results
[property] = ModelBindingResult.Failed();
906
binder.
Results
[property] = ModelBindingResult.Failed();
928
binder.
Results
[property] = ModelBindingResult.Failed();
950
binder.
Results
[property] = ModelBindingResult.Success(model: 57);
978
binder.
Results
[property] = ModelBindingResult.Failed();
982
binder.
Results
[firstNameProperty] = ModelBindingResult.Success("John");
985
binder.
Results
[lastNameProperty] = ModelBindingResult.Success("Doe");
1014
binder.
Results
[nestedProperty] = ModelBindingResult.Success(null);
1628
if (
Results
.Count == 0)
1633
if (
Results
.TryGetValue(bindingContext.ModelMetadata, out var result))
1650
if (
Results
.Count == 0)
1657
return
Results
.ContainsKey(propertyMetadata);