6 references to CreateSanitizedId
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
NameAndIdProvider.cs (2)
30
/// Similar to <see cref="TagBuilder.
CreateSanitizedId
"/> but caches value for repeated invocations.
53
var sanitizedId = TagBuilder.
CreateSanitizedId
(fullName, invalidCharReplacement);
Rendering\TagBuilder.cs (2)
211
/// <seealso cref="
CreateSanitizedId
(string, string)"/>
223
var sanitizedId =
CreateSanitizedId
(name, invalidCharReplacement);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\TagBuilderTest.cs (2)
117
var result = TagBuilder.
CreateSanitizedId
(input, "-");
128
var result = TagBuilder.
CreateSanitizedId
($"a{c}", "z");