private static List <string> GetClassNames(this TagHelperContext context) { return(context.GetAttribute("class")?.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries).ToList() ?? new List <string>()); }