This topic tree describes the Westwind.Utilities namespace.
Type | Description |
---|---|
AsyncUtils | Helper class to run async methods within a sync process. Source: https://www.ryadel.com/en/asyncutil-c-helper-class-async-method-sync-result-wait/ |
ComObject | Wrapper around a COM object that allows 'dynamic' like behavior to work in .NET Core where dynamic with COM objects is not working. This Credit to: https://github.com/bubibubi/EntityFrameworkCore.Jet/blob/3.1-preview/src/System.Data.Jet/ComObject.cs Added here with slight interface modifications |
DataUtils | Utility library for common data operations. |
DebugUtils | DebugUtils class contains various utility methods for debugging and diagnostic tasks |
DelegateFactory | This class creates a generic method delegate from a MethodInfo signature converting the method call into a LateBoundMethod delegate call. Using this class allows making repeated calls very quickly. Note: this class will be very inefficient for individual dynamic method calls - compilation of the expression is very expensive up front, so using this delegate factory makes sense only if you re-use the dynamicly loaded method |
Encryption | that provides a number of encryption utilities. |
Expando | that provides extensible properties and methods to an existing object when cast to dynamic. This dynamic object stores 'extra' properties in a dictionary or checks the actual properties of the instance passed via constructor. This class can be subclassed to extend an existing type or you can pass in an instance to extend. Properties (both dynamic and strongly typed) can be accessed through an indexer. This type allows you three ways |
FileUtils | wwUtils class which contains a set of common utility classes for Formatting strings Reflection Helpers Object Serialization Stream Manipulation |
GenericUtils | |
HtmlUtils | Html string and formatting utilities |
HttpClientRequestSettings | Configuration object for Http Requests used by the HttpUtils methods. Allows you to set the URL, verb, headers proxy and credentials that are then passed to the HTTP client. |
HttpClientUtils | |
HttpRequestSettings | Configuration object for Http Requests used by the HttpUtils methods. Allows you to set the URL, verb, headers proxy and credentials that are then passed to the HTTP client. |
HttpUtils | Simple HTTP request helper to let you retrieve data from a Web server and convert it to something useful. |
HttpUtilsWebClient | Customized version of WebClient that provides access to the Response object so we can read result data from the Response. |
ImageUtils | Summary description for wwImaging. |
JsonSerializationUtils | JSON Serialization helper class that uses JSON.NET. This class serializes JSON to and from string and files on disk. |
LanguageUtils | |
NetworkUtils | |
ObjectFactory |
An object factory that can create instances of types for Http Web Request and Thread Scoped object objects and value types. |
PropertyBag | Creates a serializable string/object dictionary that is XML serializable Encodes keys as element names and values as simple values with a type attribute that contains an XML type name. Complex names encode the type name with type='___namespace.classname' format followed by a standard xml serialized format. The latter serialization can be slow so it's not recommended to pass complex types if performance is critical. |
PropertyBag |
Creates a serializable string for generic types that is XML serializable. Encodes keys as element names and values as simple values with a type attribute that contains an XML type name. Complex names encode the type name with type='___namespace.classname' format followed by a standard xml serialized format. The latter serialization can be slow so it's not recommended to pass complex types if performance is critical. |
ReflectionUtils | Collection of Reflection and type conversion related utility functions |
Scheduler | A generic scheduling service that runs on a background thread and fires events in a given check frequency. |
SchedulerItem | A simple item wrapper that allows separating items by type. |
SerializationUtils | |
ShellUtils | Windows specific shell utility functions |
StringSerializer | A very simple flat object serializer that can be used for intra application serialization. It creates a very compact positional string of properties. Only serializes top level properties, with no nesting support and only simple properties or those with a type converter are supported. Complex properties or non-two way type convertered values are ignored. Creates strings in the format of: Rick|rstrahl@west-wind.com|1|True|3/29/2013 1:32:31 PM|1 |
StringUtils | String utility class that provides a host of string related operations |
TimeUtils | Time Utilities class provides date and time related routines. |
UrlEncodingParser | A query string or UrlEncoded form parser and editor class that allows reading and writing of urlencoded key value pairs used for query string and HTTP form data. Useful for parsing and editing querystrings inside of non-Web code that doesn't have easy access to the HttpUtility class. |
UrlParser | Internally used class that is used to expand links in text strings. |
ValidationError | Object that holds a single Validation Error for the business object |
ValidationErrorCollection | A collection of ValidationError objects that is used to collect errors that occur duing calls to the Validate method. |
VersionExtensions | |
XmlUtils | String utility class that provides a host of string related operations |
LateBoundMethod | LateBoundMethod is a generic method signature that is passed an instance and an array of parameters and returns an object. It basically can be used to call any method. |
DataAccessProviderTypes | |
DateTimeResolution | |
FindFileInHierarchyDirection | |
LineFeedTypes | |
ObjectToStringTypes | |
PathReturnOptions | |
RoundingDirection | Determines how date time values are rounded |
TerminalModes |
© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic