5 writes to Name
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
DefaultHtmlGeneratorTest.cs (5)
586
var model = new Model {
Name
= "ignored property value" };
614
var model = new Model {
Name
= "ignored property value" };
662
var model = new Model {
Name
= "ignored property value" };
690
var model = new Model {
Name
= "ignored property value" };
714
var model = new Model {
Name
= rawValue?[0] };
22 references to Name
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (22)
DefaultHtmlGeneratorTest.cs (22)
38
expression: nameof(Model.
Name
),
60
expression: nameof(Model.
Name
),
366
var expression = nameof(Model.
Name
);
396
var expression = nameof(Model.
Name
);
499
viewContext.ViewData[nameof(Model.
Name
)] = Enumerable.Empty<SelectListItem>();
505
expression: nameof(Model.
Name
),
522
viewContext.ViewData[nameof(Model.
Name
)] = value;
528
expression: nameof(Model.
Name
),
589
viewContext.ViewData[nameof(Model.
Name
)] = "ignored ViewData value";
590
viewContext.ModelState.SetModelValue(nameof(Model.
Name
), rawValue, attemptedValue: null);
596
expression: nameof(Model.
Name
),
617
viewContext.ViewData[nameof(Model.
Name
)] = "ignored ViewData value";
618
viewContext.ModelState.SetModelValue(nameof(Model.
Name
), rawValue, attemptedValue: null);
626
expression: nameof(Model.
Name
),
665
viewContext.ViewData[nameof(Model.
Name
)] = "ignored ViewData value";
666
viewContext.ModelState.SetModelValue(nameof(Model.
Name
), rawValue, attemptedValue: null);
674
expression: nameof(Model.
Name
),
693
viewContext.ViewData[nameof(Model.
Name
)] = rawValue;
694
viewContext.ModelState.SetModelValue(nameof(Model.
Name
), rawValue, attemptedValue: null);
700
expression: nameof(Model.
Name
),
717
viewContext.ModelState.SetModelValue(nameof(Model.
Name
), rawValue, attemptedValue: null);
723
expression: nameof(Model.
Name
),