1 write to Name
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlAttributePropertyHelper.cs (1)
22
Name
= propertyHelper.Name is string name ? name.Replace('_', '-') : null;
6 references to Name
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlHelper.cs (1)
170
dictionary[helper.
Name
] = helper.GetValue(htmlAttributes);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
HtmlAttributePropertyHelperTest.cs (5)
23
Assert.Equal("bar-baz", helper.
Name
);
38
Assert.Equal("foo", helper.
Name
);
52
Assert.Equal("bar", helper.
Name
);
67
Assert.Equal("foo", helper.
Name
);
107
Assert.Equal("bar-baz1", helpers1[0].
Name
);