Estender navalha MVC3 Html.LabelFor para adicionar classe css

Eu estou tentando adicionar uma classe css para Html.LabelFor em um EditorTemplate

 @Html.LabelFor(model => model.Name, new { @class = "myLabel" })

minha expectativa, por exemplo: o rótulo deve pegar a classe css.

Para isso, tentei estender o Label com o código a seguir, mas meu rótulo não está aparecendo. O que eu estou fazendo errado aqui ?

 public static class LabelExtensions
    {
        public static MvcHtmlString LabelFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, object htmlAttributes)
        {
            return html.LabelFor(expression, null, htmlAttributes);
        }

        public static MvcHtmlString LabelFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, string labelText, object htmlAttributes)
        {
            return html.LabelHelper(
                ModelMetadata.FromLambdaExpression(expression, html.ViewData),
                ExpressionHelper.GetExpressionText(expression),
                HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes),
                labelText);
        }

        private static MvcHtmlString LabelHelper(this HtmlHelper html, ModelMetadata metadata, string htmlFieldName, IDictionary<string, object> htmlAttributes, string labelText = null)
        {
            var str = labelText
                ?? (metadata.DisplayName
                ?? (metadata.PropertyName
                ?? htmlFieldName.Split(new[] { '.' }).Last()));

            if (string.IsNullOrEmpty(str))
                return MvcHtmlString.Empty;

            var tagBuilder = new TagBuilder("label");
            tagBuilder.MergeAttributes(htmlAttributes);
            tagBuilder.Attributes.Add("for", TagBuilder.CreateSanitizedId(html.ViewContext.ViewData.TemplateInfo.GetFullHtmlFieldName(htmlFieldName)));
            tagBuilder.SetInnerText(str);

            return tagBuilder.ToMvcHtmlString(TagRenderMode.Normal);
        }

        private static MvcHtmlString ToMvcHtmlString(this TagBuilder tagBuilder, TagRenderMode renderMode)
        {
            return new MvcHtmlString(tagBuilder.ToString(renderMode));
        }
    }

Se eu não estou especificando classe css por exemplo@Html.LabelFor(model => model.Name) , então mostra o rótulo. Mas não posso aplicar o css à minha gravadora. Eu quero mostrar o rótulo na cor azul, quando a página carrega., Em seguida, para alterar o estilo de etiqueta com base na ação do usuário usando jquey.Tudo está bem, na minha página, exceto o fato de que eu sou incapaz de estender e adicionar uma classe css para o meu rótulo.

questionAnswers(2)

yourAnswerToTheQuestion