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