4 instantiations of FormatModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Rendering\HtmlHelperDisplayExtensionsTest.cs (4)
99
new
FormatModel
{ FormatProperty = Status.Created },
103
new
FormatModel
{ FormatProperty = Status.Done },
117
new
FormatModel
{NonFormatProperty = Status.Created },
121
new
FormatModel
{NonFormatProperty = Status.Done },
8 references to FormatModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
Rendering\HtmlHelperDisplayExtensionsTest.cs (6)
92
public static TheoryData<
FormatModel
, string> EnumFormatModels
96
return new TheoryData<
FormatModel
, string>
110
public static TheoryData<
FormatModel
, string> EnumUnformattedModels
114
return new TheoryData<
FormatModel
, string>
130
public void Display_UsesTemplateUnFormatted(
FormatModel
model, string expectedResult)
156
public void Display_UsesTemplateFormatted(
FormatModel
model, string expectedResult)
Rendering\HtmlHelperEditorExtensionsTest.cs (2)
14
public void Display_UsesTemplateUnFormatted(HtmlHelperDisplayExtensionsTest.
FormatModel
model, string expectedResult)
40
public void Display_UsesTemplateFormatted(HtmlHelperDisplayExtensionsTest.
FormatModel
model, string expectedResult)