This static class implements utility functions used throughout YetaWF.
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core
Inheritance
public static class Utility;
This class cannot be instantiated.
AspNetMvc | Returns a value indicating which MVC version is used. | |
JsonSettingsGetSet | JSON settings used to de/serialize only properties with Get and Set accessors. | |
JsonSettingsGetSetUIHint | JSON settings used to de/serialize only properties with Get and Set accessors and UIHint. |
AllowSyncIO | Used to enable sync I/O for the current request. Only enable sync I/O when there is no way to use async I/O (e.g., when using a 3rd party library). | |
Equals | Determines whether the specified object is equal to the current object. | |
FileToPhysical | Translates a file path to the appropriate form of the operating system where the application is executing. YetaWF internally uses the "/" character, which may need to be translated for some operating systems, like Windows. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
GetAspNetMvcName | Returns a user-displayable name for the MVC version used. | |
GetHashCode | Serves as the default hash function. | |
GetType | Gets the Type of the current instance. | |
HAE | Encodes a string for use as an HTML attribute. | |
HE | Encodes a string for use as HTML. | |
HtmlDecode | Decodes a HTML encoded string. | |
JserEncode | Encodes a string for use with JavaScript. The returned string must be surrounded by quotes. | |
JsonDeserialize | Deserializes a JSON string to an object. | |
JsonSerialize | Serializes an object to a JSON string. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
PhysicalToUrl | Translates a local file name to a URL. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
ToString | Returns a string that represents the current object. | |
UrlDecodeArgs | Decodes an encoded query string argument. | |
UrlEncodeArgs | Encodes a string for use as a query string argument. | |
UrlEncodePath | Encodes a string for use as a URL path. | |
UrlEncodeSegment | Encodes a string for use as a URL segment (parts in the URL between /xxx/). | |
UrlFor | Returns a URL with query string, given a type implementing a controller, and an action name. | |
UrlToPhysical | Translates a URL to a local file name. | |
YamlDeserialize | Deserializes a Yaml string to an object. | |
YamlSerialize | Serializes an object to Yaml. |
AspNetMvcVersion | Describes the MVC version. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com