UrlHelper
Ecng.Markdown
URL utility methods for markdown/HTML processing.
Métodos
ResolveEntityReference
public static string ResolveEntityReference(string target, ResolvedMarkdownData data)
result = UrlHelper.ResolveEntityReference(target, data)
Where an "@type(id)" reference written as a link's address points: null when the address is no such reference, empty when it is one that did not resolve.
ResolveVirtualPath
public static string ResolveVirtualPath(string url)
result = UrlHelper.ResolveVirtualPath(url)
Resolve ASP.NET virtual path prefix (~/) to root-relative path (/).