48 instantiations of ValidationStateDictionary
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\DefaultModelBindingContext.cs (1)
219
ValidationState = new
ValidationStateDictionary
(),
Microsoft.AspNetCore.Mvc.Core.Test (47)
ModelBinding\Binders\CancellationTokenModelBinderTests.cs (1)
38
ValidationState = new
ValidationStateDictionary
(),
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
539
ValidationState = new
ValidationStateDictionary
(),
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
630
ValidationState = new
ValidationStateDictionary
(),
ModelBinding\Binders\FormCollectionModelBinderTest.cs (1)
77
ValidationState = new
ValidationStateDictionary
(),
ModelBinding\Binders\FormFileModelBinderTest.cs (1)
466
ValidationState = new
ValidationStateDictionary
(),
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
57
ValidationState = new
ValidationStateDictionary
(),
ModelBinding\Validation\DefaultObjectValidatorTests.cs (41)
27
var validationState = new
ValidationStateDictionary
();
53
var validationState = new
ValidationStateDictionary
();
80
var validationState = new
ValidationStateDictionary
();
109
var validationState = new
ValidationStateDictionary
();
139
var validationState = new
ValidationStateDictionary
158
var validationState = new
ValidationStateDictionary
();
190
var validationState = new
ValidationStateDictionary
();
222
var validationState = new
ValidationStateDictionary
();
254
var validationState = new
ValidationStateDictionary
();
296
var validationState = new
ValidationStateDictionary
();
328
var validationState = new
ValidationStateDictionary
();
360
var validationState = new
ValidationStateDictionary
();
402
var validationState = new
ValidationStateDictionary
436
var validationState = new
ValidationStateDictionary
472
var validationState = new
ValidationStateDictionary
();
517
var validationState = new
ValidationStateDictionary
();
590
var validationState = new
ValidationStateDictionary
();
619
var validationState = new
ValidationStateDictionary
();
647
var validationState = new
ValidationStateDictionary
();
683
var validationState = new
ValidationStateDictionary
();
718
var validationState = new
ValidationStateDictionary
();
755
var validationState = new
ValidationStateDictionary
();
788
var validationState = new
ValidationStateDictionary
();
831
var validationState = new
ValidationStateDictionary
();
906
var validationState = new
ValidationStateDictionary
();
948
var validationState = new
ValidationStateDictionary
981
var validationState = new
ValidationStateDictionary
();
1028
var validationState = new
ValidationStateDictionary
();
1088
var validationState = new
ValidationStateDictionary
();
1109
var validationState = new
ValidationStateDictionary
();
1129
var validationState = new
ValidationStateDictionary
();
1162
var validationState = new
ValidationStateDictionary
();
1204
var validationState = new
ValidationStateDictionary
1232
var validationState = new
ValidationStateDictionary
1273
var validationState = new
ValidationStateDictionary
1293
var validationState = new
ValidationStateDictionary
1322
var validationState = new
ValidationStateDictionary
1341
var validationState = new
ValidationStateDictionary
();
1365
var validationState = new
ValidationStateDictionary
1394
var validationState = new
ValidationStateDictionary
1424
var validationState = new
ValidationStateDictionary
69 references to ValidationStateDictionary
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\ModelBindingContext.cs (2)
99
/// Gets or sets the <see cref="
ValidationStateDictionary
"/>. Used for tracking validation state to
105
public abstract
ValidationStateDictionary
ValidationState { get; set; }
ModelBinding\Validation\ValidationStateDictionary.cs (1)
23
/// Creates a new <see cref="
ValidationStateDictionary
"/>.
ModelBinding\Validation\ValidationStateEntry.cs (1)
7
/// An entry in a <see cref="
ValidationStateDictionary
"/>. Records state information to override the default
Microsoft.AspNetCore.Mvc.Core (18)
ModelBinding\DefaultModelBindingContext.cs (2)
23
private
ValidationStateDictionary
_validationState = default!;
144
public override
ValidationStateDictionary
ValidationState
ModelBinding\ObjectModelValidator.cs (9)
40
ValidationStateDictionary
? validationState,
59
/// model state errors that <see cref="Validate(ActionContext,
ValidationStateDictionary
, string, object)"/>
63
/// <param name="validationState">The <see cref="
ValidationStateDictionary
"/>.</param>
69
ValidationStateDictionary
? validationState,
79
/// model state errors that <see cref="Validate(ActionContext,
ValidationStateDictionary
, string, object)"/>
83
/// <param name="validationState">The <see cref="
ValidationStateDictionary
"/>.</param>
90
ValidationStateDictionary
? validationState,
113
/// <param name="validationState">The <see cref="
ValidationStateDictionary
"/>.</param>
120
ValidationStateDictionary
? validationState);
ModelBinding\Validation\DefaultObjectValidator.cs (1)
37
ValidationStateDictionary
? validationState)
ModelBinding\Validation\IObjectModelValidator.cs (2)
17
/// <param name="validationState">The <see cref="
ValidationStateDictionary
"/>. May be null.</param>
24
ValidationStateDictionary
? validationState,
ModelBinding\Validation\ValidationVisitor.cs (4)
14
/// A visitor implementation that interprets <see cref="
ValidationStateDictionary
"/> to traverse
29
/// <param name="validationState">The <see cref="
ValidationStateDictionary
"/>.</param>
35
ValidationStateDictionary
? validationState)
80
protected
ValidationStateDictionary
? ValidationState { get; }
Microsoft.AspNetCore.Mvc.Core.Test (45)
Controllers\ControllerBinderDelegateProviderTest.cs (2)
540
It.IsAny<
ValidationStateDictionary
>(),
1465
ValidationStateDictionary
validationState,
ModelBinding\ParameterBinderTest.cs (2)
271
It.IsAny<
ValidationStateDictionary
>(),
274
.Callback((ActionContext context,
ValidationStateDictionary
validationState, string prefix, object model) =>
ModelBinding\Validation\DefaultObjectValidatorTests.cs (41)
27
var
validationState = new ValidationStateDictionary();
53
var
validationState = new ValidationStateDictionary();
80
var
validationState = new ValidationStateDictionary();
109
var
validationState = new ValidationStateDictionary();
139
var
validationState = new ValidationStateDictionary
158
var
validationState = new ValidationStateDictionary();
190
var
validationState = new ValidationStateDictionary();
222
var
validationState = new ValidationStateDictionary();
254
var
validationState = new ValidationStateDictionary();
296
var
validationState = new ValidationStateDictionary();
328
var
validationState = new ValidationStateDictionary();
360
var
validationState = new ValidationStateDictionary();
402
var
validationState = new ValidationStateDictionary
436
var
validationState = new ValidationStateDictionary
472
var
validationState = new ValidationStateDictionary();
517
var
validationState = new ValidationStateDictionary();
590
var
validationState = new ValidationStateDictionary();
619
var
validationState = new ValidationStateDictionary();
647
var
validationState = new ValidationStateDictionary();
683
var
validationState = new ValidationStateDictionary();
718
var
validationState = new ValidationStateDictionary();
755
var
validationState = new ValidationStateDictionary();
788
var
validationState = new ValidationStateDictionary();
831
var
validationState = new ValidationStateDictionary();
906
var
validationState = new ValidationStateDictionary();
948
var
validationState = new ValidationStateDictionary
981
var
validationState = new ValidationStateDictionary();
1028
var
validationState = new ValidationStateDictionary();
1088
var
validationState = new ValidationStateDictionary();
1109
var
validationState = new ValidationStateDictionary();
1129
var
validationState = new ValidationStateDictionary();
1162
var
validationState = new ValidationStateDictionary();
1204
var
validationState = new ValidationStateDictionary
1232
var
validationState = new ValidationStateDictionary
1273
var
validationState = new ValidationStateDictionary
1293
var
validationState = new ValidationStateDictionary
1322
var
validationState = new ValidationStateDictionary
1341
var
validationState = new ValidationStateDictionary();
1365
var
validationState = new ValidationStateDictionary
1394
var
validationState = new ValidationStateDictionary
1424
var
validationState = new ValidationStateDictionary
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ValidationIntegrationTests.cs (2)
2585
public override ValidationVisitor GetValidationVisitor(ActionContext actionContext, IModelValidatorProvider validatorProvider, ValidatorCache validatorCache, IModelMetadataProvider metadataProvider,
ValidationStateDictionary
validationState)
2594
public RecordingValidationVisitor(ActionContext actionContext, IModelValidatorProvider validatorProvider, ValidatorCache validatorCache, IModelMetadataProvider metadataProvider,
ValidationStateDictionary
validationState)