8 references to DisplayFor
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
DefaultDisplayTemplatesTest.cs (3)
292
var result = helper.
DisplayFor
(m => m.Property1);
337
var result = helper.
DisplayFor
(m => m.Property1);
366
var ex = Assert.Throws<ArgumentException>(() => helper.
DisplayFor
(m => m.Property1));
Rendering\HtmlHelperDisplayExtensionsTest.cs (5)
35
var displayForResult = helper.
DisplayFor
(m => m);
148
var displayResult = helper.
DisplayFor
(x => x.NonFormatProperty);
174
var displayResult = helper.
DisplayFor
(x => x.FormatProperty);
346
var displayResult = helper.
DisplayFor
(m => m.Status);
374
var displayResult = helper.
DisplayFor
(m => m.Status);