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