2 writes to Text
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
LabelTagHelperTest.cs (2)
22
Text
= null,
30
Text
= "inner text",
36 references to Text
Microsoft.AspNetCore.Mvc.TagHelpers.Test (36)
LabelTagHelperTest.cs (36)
72
{ modelWithNull, typeof(NestedModel), () => modelWithNull.NestedModel.
Text
, "NestedModel.Text",
74
{ modelWithNull, typeof(NestedModel), () => modelWithNull.NestedModel.
Text
, "NestedModel.Text",
76
{ modelWithNull, typeof(NestedModel), () => modelWithNull.NestedModel.
Text
, "NestedModel.Text",
78
{ modelWithText, typeof(NestedModel), () => modelWithText.NestedModel.
Text
, "NestedModel.Text",
80
{ modelWithText, typeof(NestedModel), () => modelWithText.NestedModel.
Text
, "NestedModel.Text",
82
{ modelWithText, typeof(NestedModel), () => modelWithText.NestedModel.
Text
, "NestedModel.Text",
84
{ modelWithNull, typeof(NestedModel), () => modelWithNull.NestedModel.
Text
, "NestedModel.Text",
86
{ modelWithText, typeof(NestedModel), () => modelWithText.NestedModel.
Text
, "NestedModel.Text",
88
{ modelWithNull, typeof(NestedModel), () => modelWithNull.NestedModel.
Text
, "NestedModel.Text",
90
{ modelWithText, typeof(NestedModel), () => modelWithText.NestedModel.
Text
, "NestedModel.Text",
92
{ modelWithNull, typeof(NestedModel), () => modelWithNull.NestedModel.
Text
, "NestedModel.Text",
94
{ modelWithText, typeof(NestedModel), () => modelWithText.NestedModel.
Text
, "NestedModel.Text",
122
{ models, typeof(NestedModel), () => models[0].NestedModel.
Text
, "[0].NestedModel.Text",
124
{ models, typeof(NestedModel), () => models[0].NestedModel.
Text
, "[0].NestedModel.Text",
126
{ models, typeof(NestedModel), () => models[0].NestedModel.
Text
, "[0].NestedModel.Text",
128
{ models, typeof(NestedModel), () => models[1].NestedModel.
Text
, "[1].NestedModel.Text",
130
{ models, typeof(NestedModel), () => models[1].NestedModel.
Text
, "[1].NestedModel.Text",
132
{ models, typeof(NestedModel), () => models[1].NestedModel.
Text
, "[1].NestedModel.Text",
134
{ models, typeof(NestedModel), () => models[0].NestedModel.
Text
, "[0].NestedModel.Text",
136
{ models, typeof(NestedModel), () => models[1].NestedModel.
Text
, "[1].NestedModel.Text",
138
{ models, typeof(NestedModel), () => models[0].NestedModel.
Text
, "[0].NestedModel.Text",
140
{ models, typeof(NestedModel), () => models[1].NestedModel.
Text
, "[1].NestedModel.Text",
142
{ models, typeof(NestedModel), () => models[0].NestedModel.
Text
, "[0].NestedModel.Text",
144
{ models, typeof(NestedModel), () => models[1].NestedModel.
Text
, "[1].NestedModel.Text",
237
null, string.Empty, string.Empty, $"HtmlEncode[[{nameof(NestedModel.
Text
)}]]", nameof(NestedModel.
Text
)
240
string.Empty, string.Empty, string.Empty, string.Empty, nameof(NestedModel.
Text
)
243
"a label", string.Empty, string.Empty, "HtmlEncode[[a label]]", nameof(NestedModel.
Text
)
246
null, "original label", string.Empty, "original label", nameof(NestedModel.
Text
)
249
string.Empty, "original label", string.Empty, "original label", nameof(NestedModel.
Text
)
252
"a label", "original label", string.Empty, "original label", nameof(NestedModel.
Text
)
255
null, string.Empty, "prefix", $"HtmlEncode[[{nameof(NestedModel.
Text
)}]]", $"prefix_{nameof(NestedModel.
Text
)}"
258
string.Empty, string.Empty, "prefix", string.Empty, $"prefix_{nameof(NestedModel.
Text
)}"
261
"a label", string.Empty, "prefix", "HtmlEncode[[a label]]", $"prefix_{nameof(NestedModel.
Text
)}"
283
var name = nameof(NestedModel.
Text
);