Base:
property
Model
Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext.Model
10 writes to Model
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\DefaultModelBindingContext.cs (1)
264Model = model;
Microsoft.AspNetCore.Mvc.Core.Test (9)
ModelBinding\Binders\ArrayModelBinderTest.cs (1)
192bindingContext.Model = model;
ModelBinding\Binders\CollectionModelBinderTest.cs (3)
108bindingContext.Model = list; 160bindingContext.Model = list; 361bindingContext.Model = list;
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (1)
1114Model = model,
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (1)
1278Model = model,
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
73bindingContext.Model = dictionary;
ModelBinding\DefaultModelBindingContextTest.cs (1)
22Model = new object(),
ModelBinding\ModelBindingHelperTest.cs (1)
1516bindingContext.Model = modelMetadata.PropertyGetter(container);
15 references to Model
Microsoft.AspNetCore.Mvc.Core.Test (15)
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (5)
439var originalModel = bindingContext.Model; 454Assert.Same(originalModel, bindingContext.Model); 878var person = Assert.IsType<Person>(bindingContext.Model); 902var person = Assert.IsType<Person>(bindingContext.Model); 926var person = Assert.IsType<Person>(bindingContext.Model);
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (7)
596var originalModel = bindingContext.Model; 610Assert.Same(originalModel, bindingContext.Model); 633Assert.NotNull(bindingContext.Model); 634Assert.IsType<Person>(bindingContext.Model); 1040var person = Assert.IsType<Person>(bindingContext.Model); 1064var person = Assert.IsType<Person>(bindingContext.Model); 1088var person = Assert.IsType<Person>(bindingContext.Model);
ModelBinding\DefaultModelBindingContextTest.cs (1)
55Assert.Null(bindingContext.Model);
ModelBinding\ModelBindingHelperTest.cs (2)
1454Assert.Same(bindingContext.Model, result); 1470Assert.NotSame(bindingContext.Model, result);