internal static TagHelperOutput SetNgFor(this TagHelperOutput output, ModelExpression expression, string ng) { if (expression != null) { output.Attributes.SetAttribute(ng, expression.GetName()); } return(output); }