7 writes to Model
System.Web (7)
ModelBinding\ArrayModelBinder`1.cs (1)
8
bindingContext.
Model
= newCollection.ToArray();
ModelBinding\BinaryDataModelBinderProvider.cs (1)
47
bindingContext.
Model
= ConvertByteArray(Convert.FromBase64String(realValue));
ModelBinding\CollectionModelBinderUtil.cs (2)
14
bindingContext.
Model
= collection;
27
bindingContext.
Model
= dictionary;
ModelBinding\KeyValuePairModelBinder`2.cs (1)
30
bindingContext.
Model
= new KeyValuePair<TKey, TValue>(key, value);
ModelBinding\TypeConverterModelBinder.cs (1)
37
bindingContext.
Model
= newModel;
ModelBinding\TypeMatchModelBinder.cs (1)
14
bindingContext.
Model
= model;
17 references to Model
System.Web (17)
ModelBinding\CollectionModelBinder`1.cs (2)
38
boundValue = childBindingContext.
Model
;
93
boundValue = innerBindingContext.
Model
;
ModelBinding\CollectionModelBinderUtil.cs (2)
11
ICollection<TElement> collection = bindingContext.
Model
as ICollection<TElement>;
24
IDictionary<TKey, TValue> dictionary = bindingContext.
Model
as IDictionary<TKey, TValue>;
ModelBinding\ComplexModelBinder.cs (2)
8
ComplexModel complexModel = (ComplexModel)bindingContext.
Model
;
19
complexModel.Results[propertyMetadata] = new ComplexModelResult(propertyBindingContext.
Model
, propertyBindingContext.ValidationNode);
ModelBinding\KeyValuePairModelBinderUtil.cs (1)
14
object untypedModel = propertyBindingContext.
Model
;
ModelBinding\ModelBinderUtil.cs (4)
99
if (!allowNullModel && bindingContext.
Model
== null) {
103
if (bindingContext.
Model
!= null && !requiredType.IsInstanceOfType(bindingContext.
Model
)) {
104
throw Error.ModelBinderUtil_ModelInstanceIsWrong(bindingContext.
Model
.GetType(), requiredType);
ModelBinding\MutableObjectModelBinder.cs (4)
81
return (ComplexModel)complexModelBindingContext.
Model
;
107
if (bindingContext.
Model
== null) {
200
foreach (ModelValidationResult validationResult in requiredValidator.Validate(bindingContext.
Model
)) {
209
propertyDescriptor.SetValue(bindingContext.
Model
, value);
UI\WebControls\ModelDataSourceView.cs (2)
1033
value = bindingContext.
Model
;
1050
value = bindingContext.
Model
;