HtmlScriptExtensions.ResolveWithHash method

namespace: Serenity.Web   assemblySerenity.Net.Web

Resolves a content URL by adding its hash with "?v=" prefix.

public static HtmlString ResolveWithHash(this IHtmlHelper helper, string contentUrl)
parameter description
helper HTML helper
contentUrl Content URL

Exceptions

exception condition
ArgumentNullException Helper or contentUrl is null

See Also