Helper class that provides a few simple utilitity functions to the project
Westwind.RazorHosting.Utilities
public class Utilities : object
Class Members
Member | Description | |
---|---|---|
Constructor |
||
GetRelativePath |
Returns a relative path based on a base path. Examples: <
public static string GetRelativePath(string fullPath, string basePath) |
|
HtmlEncode |
HTML-encodes a string and returns the encoded string. public static string HtmlEncode(string text) public static string HtmlEncode(object value) |
Requirements
Namespace: Westwind.RazorHostingAssembly: westwind.razorhosting.dll
© West Wind Technologies, 2018 • Updated: 06/07/18
Comment or report problem with topic