Abl.Mvc.HtmlHelpers.HtmlHelperExtensions.AppVersion C# (CSharp) Метод

AppVersion() публичный статический Метод

Returns the AssemblyInfo application version
public static AppVersion ( this helper, Type mvcAssembly ) : System.Web.Mvc.MvcHtmlString
helper this This Html Helper
mvcAssembly Type The assembly type
Результат System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString AppVersion(
            this HtmlHelper helper,
            Type mvcAssembly)
        {
            string version = mvcAssembly.Assembly.GetName().Version.ToString();

            #if DEBUG
             version += " [debug]";
            #endif

            return MvcHtmlString.Create(version);
        }