Click or drag to resize

Utility Class

A static class of utility methods that may be useful anywhere within the Hoarder suite.
Inheritance Hierarchy
SystemObject
  Orthogonal.Hoarder.StdLibUtility

Namespace: Orthogonal.Hoarder.StdLib
Assembly: Orthogonal.Hoarder.StdLib (in Orthogonal.Hoarder.StdLib.dll) Version: 8.0.21
Syntax
C#
public static class Utility

The Utility type exposes the following members.

Methods
 NameDescription
Public methodStatic memberGetWikiPageInfo Retrieves Wikipedia information for a specific Page Id and returns selected details of the page.
Public methodStatic memberGmtTime Creates a pleasantly formatted timestamp string that can be placed in web page footers.
Public methodStatic memberHtmlEncode Encodes a string for display in the body of an HTML page.
Public methodStatic memberIsValidISBN Determines if a string is probably a valid ISBN 10 or 13. See: ISBN-10 check digit calculation and ISBN-13 check digit calculation.
Public methodStatic memberMetaDecode Decodes an Azure Blob metadata string that was encoded with MetaEncode(String).
Public methodStatic memberMetaEncode Encodes a string to a format suitable for storing in Azure Blob metadata.
Public methodStatic memberNiceSize Formats a long number in a format that is similar to the format used by the Windows Shell. This should be done by the Windows Shell API, but it's not available in a standard2.0 library.
Public methodStatic memberStableHash See: Blog post: GetHashCode. The original custom hashing code was replaced with the Xxhash32 class after it became available.
Public methodStatic memberWikiSearchAsync Searches Wikipedia for one or more phrases, and the phrases joined together.
Top
See Also