[ROOT] / doc / toc / ARCCore / Class / UtilCore
Assemblies , AssertCurrentlyStartingUp , Culture , Culture_en_US , CurrentlyStartingUp , DateTimeNow , DateTimeTryParse , DefaultAgoRapideEncoding , DoubleTryParse , EnumTryParse , GetExceptionChainAsString , GetExeptionDetails , TimeSpanTryParse , TryGetTypeFromStringFromCache , TryGetTypeFromStringNoCache , UseLocalTimeInsteadOfUTC , ValidDateTimeFormats , ValidTimeSpanFormats
Utility methods for ARCCore.
Methods and functionality that we are unable to find another natural home for.
NOTE: Message to developers. Think through before you decide on adding anything to this class. It should really be kept as small as possible.
NOTE: Consider splitting up into multiple smaller classes if grows too big.
See also Extensions.
| Assemblies | All relevant assemblies for application. | 
| AssertCurrentlyStartingUp | Normally called from non-thread safe methods that should be run single-threaded at application startup only. | 
| Culture | The general culture used for parsing. | 
| Culture_en_US | Used by DoubleTryParse. | 
| CurrentlyStartingUp | Called once at application startup after all Attribute instances in the C# code has been processed. | 
| DateTimeNow | Returns DateTime.UtcNow unless UseLocalTimeInsteadOfUTC has been set to TRUE in which case DateTime.Now is returned. | 
| DateTimeTryParse | Accepts on of the formats specified in ValidDateTimeFormats. | 
| DefaultAgoRapideEncoding | The standard encoding used for text (UTF8). | 
| DoubleTryParse | Note that treats ',' (comma) as decimal point (not as thousands separator). | 
| EnumTryParse | Same as the inbuilt .NET method TryParse but with some additional checks. | 
| GetExceptionChainAsString | Follows the chain of InnerException and returns types as comma-separated string | 
| GetExeptionDetails | Gives as much information about exception as possible. | 
| TimeSpanTryParse | Accepts on of the formats specified in ValidDateTimeFormats. | 
| TryGetTypeFromStringFromCache | Corresponding method for creating string-representation of type is ToStringDB. | 
| TryGetTypeFromStringNoCache | See TryGetTypeFromStringFromCache for documentation. | 
| UseLocalTimeInsteadOfUTC | By default AgoRapide operates only with UTC time. | 
| ValidDateTimeFormats | 'yyyy-MM-dd HH:mm:ss.fff', 'yyyy-MM-dd HH:mm:ss', 'yyyy-MM-dd HH:mm', 'yyyy-MM-dd' | 
| ValidTimeSpanFormats | 'hh\:mm', 'hh\:mm\:ss', 'd\.hh\:mm\:ss', 'hh\:mm\:ss\.fff' // Milliseconds,'d\.hh\:mm\:ss\.fff' | 
Generated 2025-11-04 14:15:37.106 UTC