6 references to SpaceChars
Microsoft.AspNetCore.Mvc.TagHelpers (6)
TagHelperOutputExtensions.cs (6)
149
var encodedSpaceChars =
SpaceChars
.Where(x => !x.Equals('\u0020')).Select(x => htmlEncoder.Encode(x.ToString())).ToArray();
151
if (
SpaceChars
.Any(classValue.Contains) || encodedSpaceChars.Any(value => classValue.Contains(value, StringComparison.Ordinal)))
171
var arrayOfClasses = currentClassValue.Split(
SpaceChars
, StringSplitOptions.RemoveEmptyEntries)
203
var encodedSpaceChars =
SpaceChars
.Where(x => !x.Equals('\u0020')).Select(x => htmlEncoder.Encode(x.ToString())).ToArray();
205
if (
SpaceChars
.Any(classValue.Contains) || encodedSpaceChars.Any(value => classValue.Contains(value, StringComparison.Ordinal)))
235
var listOfClasses = currentClassValue.Split(
SpaceChars
, StringSplitOptions.RemoveEmptyEntries)