2 instantiations of ModelWithProperties
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\DictionaryModelBinderTest.cs (2)
321
{ 23, new
ModelWithProperties
{ Id = 43, Name = "Wilma" } },
322
{ 27, new
ModelWithProperties
{ Id = 98, Name = "Fred" } },
7 references to ModelWithProperties
Microsoft.AspNetCore.Mvc.Core.Test (7)
ModelBinding\Binders\DictionaryModelBinderTest.cs (7)
319
var dictionary = new Dictionary<int,
ModelWithProperties
>
342
var valueMetadata = metadataProvider.GetMetadataForType(typeof(
ModelWithProperties
));
344
var binder = new DictionaryModelBinder<int,
ModelWithProperties
>(
361
var resultDictionary = Assert.IsAssignableFrom<IDictionary<int,
ModelWithProperties
>>(bindingContext.Result.Model);
367
var strategy = Assert.IsType<ShortFormDictionaryValidationStrategy<int,
ModelWithProperties
>>(entry.Strategy);
702
public Dictionary<int,
ModelWithProperties
> DictionaryWithComplexValuesProperty { get; set; }
715
return obj is
ModelWithProperties
other &&