3 instantiations of Model
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
ValidationSummaryTagHelperTest.cs (3)
74
var model = new
Model
();
242
var model = new
Model
();
312
var model = new
Model
();
18 references to Model
Microsoft.AspNetCore.Mvc.TagHelpers.Test (18)
ValidationSummaryTagHelperTest.cs (18)
74
var
model = new Model();
146
invalidModelState.AddModelError($"{nameof(
Model
.Strings)}[1]", "This value is invalid.");
152
{ nameof(
Model
.Text), modelState },
155
{ $"{nameof(
Model
.Strings)}[2]", invalidModelState },
156
{ nameof(
Model
.Text), invalidModelState },
242
var
model = new Model();
312
var
model = new Model();
318
modelState.AddModelError(key: $"{nameof(
Model
.Strings)}[0]", errorMessage: expectedError0);
319
modelState.AddModelError(key: $"{nameof(
Model
.Strings)}[2]", errorMessage: expectedError2);
667
modelState.SetModelValue(key: nameof(
Model
.Empty), rawValue: null, attemptedValue: null);
668
modelState.SetModelValue(key: $"{nameof(
Model
.Strings)}[0]", rawValue: null, attemptedValue: null);
669
modelState.SetModelValue(key: $"{nameof(
Model
.Strings)}[1]", rawValue: null, attemptedValue: null);
670
modelState.SetModelValue(key: $"{nameof(
Model
.Strings)}[2]", rawValue: null, attemptedValue: null);
671
modelState.SetModelValue(key: nameof(
Model
.Text), rawValue: null, attemptedValue: null);
690
private class FormMetadata : IEnumerable<
Model
>
692
private readonly List<
Model
> _fields = new List<
Model
>();
696
public IEnumerator<
Model
> GetEnumerator()