Click or drag to resize

Global class

Global types, constants and static functions

Global types, constants and static functions

Inheritance hierarchy
SystemObject
  NetEti.GlobalsGlobal

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
public static class Global

The Global Type exposes the following members.

Methods
 NameDescription of the
Public MethodStatic MemberCompareVersion

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.

Public MethodStatic MemberDirectoryCopy 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.
Public MethodStatic MemberGetUniversalName

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.

Public MethodStatic MemberIsDate

Returns true if the string passed is a valid date.

Returns true, if the given string is a valid date.

Public MethodStatic MemberStringToSecureString

Converts a transferred string into a SecureString

Converts a given string to a SecureString

Public MethodStatic MemberUnicodeHexcodeToChar

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 €.

Back to the top
Fields
 NameDescription of the
Public FieldStatic MemberSaveColumnDelimiter

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.

Public FieldStatic MemberStandardCsvColumnDelimiter

The standard column separator in CSV files

Standard-column-delimiter in CSV-files

Back to the top
Remarks

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()).

See also