11 instantiations of OverriddenToStringModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (11)
Rendering\HtmlHelperDisplayTextTest.cs (11)
83
var model = new
OverriddenToStringModel
("Model value");
99
var model = new
OverriddenToStringModel
("Model value");
113
var model = new
OverriddenToStringModel
("Model value");
127
var model = new
OverriddenToStringModel
("Ignored text")
151
var model = new
OverriddenToStringModel
("Ignored text")
175
var model = new
OverriddenToStringModel
("Ignored text")
200
var model = new
OverriddenToStringModel
("ignored text")
217
var model = new
OverriddenToStringModel
("Model value")
235
var model = new
OverriddenToStringModel
("Model value")
253
var model = new
OverriddenToStringModel
("Model value")
278
var model = new
OverriddenToStringModel
("Model value")
26 references to OverriddenToStringModel
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (26)
Rendering\HtmlHelperDisplayTextTest.cs (26)
19
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: null);
32
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: null);
46
provider.ForType<
OverriddenToStringModel
>().DisplayDetails(dd =>
51
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: null, provider: provider);
65
provider.ForType<
OverriddenToStringModel
>().DisplayDetails(dd =>
70
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: null, provider: provider);
83
var
model = new OverriddenToStringModel("Model value");
99
var
model = new OverriddenToStringModel("Model value");
113
var
model = new OverriddenToStringModel("Model value");
127
var
model = new OverriddenToStringModel("Ignored text")
133
provider.ForType<
OverriddenToStringModel
>().DisplayDetails(dd =>
135
dd.SimpleDisplayProperty = nameof(
OverriddenToStringModel
.SimpleDisplay);
138
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: model, provider: provider);
151
var
model = new OverriddenToStringModel("Ignored text")
157
provider.ForType<
OverriddenToStringModel
>().DisplayDetails(dd =>
159
dd.SimpleDisplayProperty = nameof(
OverriddenToStringModel
.SimpleDisplay);
162
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: model, provider: provider);
175
var
model = new OverriddenToStringModel("Ignored text")
182
provider.ForType<
OverriddenToStringModel
>().DisplayDetails(dd =>
184
dd.SimpleDisplayProperty = nameof(
OverriddenToStringModel
.SimpleDisplay);
187
var helper = DefaultTemplatesUtilities.GetHtmlHelper<
OverriddenToStringModel
>(model: model, provider: provider);
200
var
model = new OverriddenToStringModel("ignored text")
217
var
model = new OverriddenToStringModel("Model value")
235
var
model = new OverriddenToStringModel("Model value")
253
var
model = new OverriddenToStringModel("Model value")
278
var
model = new OverriddenToStringModel("Model value")