36 references to GetMetadataForType
Microsoft.AspNetCore.Mvc.Core.Test (36)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (36)
28var bindingContext = CreateContext(GetMetadataForType(typeof(Person)));
60var bindingContext = CreateContext(GetMetadataForType(typeof(Document)));
77var bindingContext = CreateContext(GetMetadataForType(typeof(HasAllGreedyProperties)));
121var bindingContext = CreateContext(GetMetadataForType(typeof(PersonWithNoProperties)));
137var bindingContext = CreateContext(GetMetadataForType(typeof(PersonWithNoProperties)));
161var bindingContext = CreateContext(GetMetadataForType(modelType));
189var bindingContext = CreateContext(GetMetadataForType(modelType));
224var bindingContext = CreateContext(GetMetadataForType(modelType));
258var bindingContext = CreateContext(GetMetadataForType(modelType));
438var bindingContext = CreateContext(GetMetadataForType(typeof(PersonWithName)), new PersonWithName());
473ModelMetadata = GetMetadataForType(typeof(PersonWithBindExclusion)),
500ModelMetadata = GetMetadataForType(typeof(PersonWithBindExclusion)),
525ModelMetadata = GetMetadataForType(typeof(PersonWithBindExclusion)),
552ModelMetadata = GetMetadataForType(typeof(TypeWithIncludedPropertiesUsingBindAttribute)),
578ModelMetadata = GetMetadataForType(typeof(ModelWithMixedBindingBehaviors)),
603var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
666var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
703var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
737var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
760var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
783var containerMetadata = GetMetadataForType(model.GetType());
808var containerMetadata = GetMetadataForType(model.GetType());
838var containerMetadata = GetMetadataForType(model.GetType());
866var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
868var metadata = GetMetadataForType(typeof(Person));
888var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
890var metadata = GetMetadataForType(typeof(Person));
912var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
914var metadata = GetMetadataForType(typeof(Person));
936var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
938var metadata = GetMetadataForType(typeof(Person));
979var bindingContext = CreateContext(GetMetadataForType(type), model);
1002var modelMetadata = GetMetadataForType(model.GetType());
1023var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
1047var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);
1067var bindingContext = CreateContext(GetMetadataForType(model.GetType()), model);