7 writes to ModelName
System.Web (7)
ModelBinding\CollectionModelBinder`1.cs (2)
31
ModelName
= fullChildName
82
ModelName
= bindingContext.ModelName,
ModelBinding\ComplexModelBinder.cs (1)
12
ModelName
= ModelBinderUtil.CreatePropertyModelName(bindingContext.ModelName, propertyMetadata.PropertyName)
ModelBinding\DefaultModelBinder.cs (1)
23
ModelName
= String.Empty,
ModelBinding\KeyValuePairModelBinderUtil.cs (1)
8
ModelName
= ModelBinderUtil.CreatePropertyModelName(parentBindingContext.ModelName, propertyName)
ModelBinding\MutableObjectModelBinder.cs (1)
76
ModelName
= bindingContext.ModelName
UI\WebControls\ModelDataSourceView.cs (1)
1020
ModelName
= modelName,
27 references to ModelName
System.Web (27)
ModelBinding\ArrayModelBinderProvider.cs (1)
10
bindingContext.UnvalidatedValueProvider.ContainsPrefix(bindingContext.
ModelName
)) {
ModelBinding\BinaryDataModelBinderProvider.cs (1)
29
ValueProviderResult vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.
ModelName
);
ModelBinding\CollectionModelBinder`1.cs (5)
10
string indexPropertyName = ModelBinderUtil.CreatePropertyModelName(bindingContext.
ModelName
, "index");
28
string fullChildName = ModelBinderUtil.CreateIndexModelName(bindingContext.
ModelName
, indexName);
60
ValueProviderResult vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.
ModelName
, skipValidation: !bindingContext.ValidateRequest);
82
ModelName = bindingContext.
ModelName
,
84
new ElementalValueProvider(bindingContext.
ModelName
, rawValueElement, culture), // our temporary provider goes at the front of the list
ModelBinding\CollectionModelBinderProvider.cs (1)
9
if (bindingContext.UnvalidatedValueProvider.ContainsPrefix(bindingContext.
ModelName
)) {
ModelBinding\ComplexModelBinder.cs (1)
12
ModelName = ModelBinderUtil.CreatePropertyModelName(bindingContext.
ModelName
, propertyMetadata.PropertyName)
ModelBinding\DefaultModelBinder.cs (1)
18
if (binder == null && !String.IsNullOrEmpty(bindingContext.
ModelName
)
ModelBinding\DictionaryModelBinderProvider.cs (1)
9
if (bindingContext.UnvalidatedValueProvider.ContainsPrefix(bindingContext.
ModelName
)) {
ModelBinding\GenericModelBinderProvider.cs (1)
86
if (SuppressPrefixCheck || bindingContext.UnvalidatedValueProvider.ContainsPrefix(bindingContext.
ModelName
)) {
ModelBinding\KeyValuePairModelBinderProvider.cs (2)
9
string keyFieldName = ModelBinderUtil.CreatePropertyModelName(bindingContext.
ModelName
, "key");
10
string valueFieldName = ModelBinderUtil.CreatePropertyModelName(bindingContext.
ModelName
, "value");
ModelBinding\KeyValuePairModelBinderUtil.cs (1)
8
ModelName = ModelBinderUtil.CreatePropertyModelName(parentBindingContext.
ModelName
, propertyName)
ModelBinding\ModelBindingContext.cs (1)
116
_validationNode = new ModelValidationNode(ModelMetadata,
ModelName
);
ModelBinding\MutableObjectModelBinder.cs (2)
76
ModelName = bindingContext.
ModelName
166
string fullPropertyKey = ModelBinderUtil.CreatePropertyModelName(bindingContext.
ModelName
, missingPropertyName);
ModelBinding\MutableObjectModelBinderProvider.cs (1)
8
if (!bindingContext.UnvalidatedValueProvider.ContainsPrefix(bindingContext.
ModelName
)) {
ModelBinding\SimpleModelBinderProvider.cs (1)
49
if (SuppressPrefixCheck || bindingContext.UnvalidatedValueProvider.ContainsPrefix(bindingContext.
ModelName
)) {
ModelBinding\TypeConverterModelBinder.cs (4)
12
ValueProviderResult vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.
ModelName
, skipValidation: !bindingContext.ValidateRequest);
18
bindingContext.ModelState.SetModelValue(bindingContext.
ModelName
, vpResult);
27
bindingContext.ModelState.AddModelError(bindingContext.
ModelName
, errorString);
31
bindingContext.ModelState.AddModelError(bindingContext.
ModelName
, ex);
ModelBinding\TypeConverterModelBinderProvider.cs (1)
10
ValueProviderResult vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.
ModelName
, skipValidation: !bindingContext.ValidateRequest);
ModelBinding\TypeMatchModelBinder.cs (2)
11
bindingContext.ModelState.SetModelValue(bindingContext.
ModelName
, vpResult);
22
ValueProviderResult vpResult = bindingContext.UnvalidatedValueProvider.GetValue(bindingContext.
ModelName
, skipValidation: !bindingContext.ValidateRequest);