Implemented interface member:
method
DisplayText
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper.DisplayText(System.String)
12 references to DisplayText
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
Rendering\HtmlHelperDisplayTextTest.cs (12)
22var result = helper.DisplayText(expression: string.Empty); 54var result = helper.DisplayText(expression: string.Empty); 87var result = helper.DisplayText(expression: string.Empty); 88var nullResult = helper.DisplayText(expression: null); // null is another alias for current model 103var result = helper.DisplayText("NonExistentProperty"); 141var result = helper.DisplayText(expression: string.Empty); 190var result = helper.DisplayText("Name"); 225var result = helper.DisplayText("Name"); 268var result = helper.DisplayText("Name"); 307var result = helper.DisplayText(expression: string.Empty); 323var result = helper.DisplayText(expression: nameof(EnumWithDisplayAttributeContainer.EnumValue)); 339var result = helper.DisplayText(expression: null);