![]() | Global class |
Global types, constants and static functions
Global types, constants and static functions
The Global Type exposes the following members.
Name | Description of the | |
---|---|---|
![]() ![]() | CompareVersion | Compares two version strings consisting of numbers separated by '.', e.g.: 1.0.0.10 with 1.0.0.9. Compares two version-strings, consisting of '.' separated lines, i.e.: 1.0.0.10 with 1.0.0.9. |
![]() ![]() | DirectoryCopy | Copies a directory including all the files it contains. If the "copySubDirs" parameter is set to true, all subdirectories contained in the directory are also copied recursively. |
![]() ![]() | GetUniversalName | Converts a transferred absolute file path into its UNC equivalent, if possible. Converts a given absolute file path into it's UNC-equivalent, if possible. |
![]() ![]() | IsDate | Returns true if the string passed is a valid date. Returns true, if the given string is a valid date. |
![]() ![]() | StringToSecureString | Converts a transferred string into a SecureString Converts a given string to a SecureString |
![]() ![]() | UnicodeHexcodeToChar | Converts a character string that represents a Unicode hex code e.g.: 20AC (=> €) into the corresponding character. Converts a string, representing a hex-unicode character like 20AC, to ascii €. |
Name | Description of the | |
---|---|---|
![]() ![]() | SaveColumnDelimiter | separator for string content, which on the one hand is not itself in strings and on the other hand is displayed like a space. Delimiter for string-contents. This delimiter does not appear in strings but behaves like a space. |
![]() ![]() | StandardCsvColumnDelimiter | The standard column separator in CSV files Standard-column-delimiter in CSV-files |
File: Global.cs
Author: Erik Nagel, NetEti
12.03.2012 Erik Nagel: created.
2012-06-14 Erik Nagel: Correction in GetUniversalName.
13.08.2012 Erik Nagel: IsDate(string inputDate) implemented.
01.05.2014 Erik Nagel: DynamicIs(instance, typeof(T)) deleted, instead
typeof(T).IsAssignableFrom(instance.GetType()) can be used.
File: Global.cs
Author: Erik Nagel, NetEti
12.03.2012 Erik Nagel: created.
2012-06-14 Erik Nagel: Correction in GetUniversalName.
13.08.2012 Erik Nagel: IsDate(string inputDate) implemented.
01.05.2014 Erik Nagel: DynamicIs(instance, typeof(T)) deleted, instead one can insert
typeof(T).IsAssignableFrom(instance.GetType()).