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)
319var dictionary = new Dictionary<int, ModelWithProperties> 342var valueMetadata = metadataProvider.GetMetadataForType(typeof(ModelWithProperties)); 344var binder = new DictionaryModelBinder<int, ModelWithProperties>( 361var resultDictionary = Assert.IsAssignableFrom<IDictionary<int, ModelWithProperties>>(bindingContext.Result.Model); 367var strategy = Assert.IsType<ShortFormDictionaryValidationStrategy<int, ModelWithProperties>>(entry.Strategy); 702public Dictionary<int, ModelWithProperties> DictionaryWithComplexValuesProperty { get; set; } 715return obj is ModelWithProperties other &&