DigitalData.Modules.Language
Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
Provides common utility functions that do not require a specific context.
Generates a random short (8 characters) guid
The generated guid as a String
Converts a String value to the given Enum
The Enum Type
The string value to convert
Converts an Integer value to the given Enum
The Enum Type
The integer value to convert
Converts a Long value to the given Enum
The Enum Type
The long value to convert
Checks a value for three different `null` values,
Nothing, Empty String, DBNull
Returns the original value if the value is not null, or `defaultValue`
The type of the value
The value
The default Value
The original value or the default value
Checks a Row value for three different `null` values,
Nothing, Empty String, DBNull
Returns the original value if the value is not null, or `defaultValue`
The type of the value
The DataRow that contains the value
The column name
The default value
The original value or the default value
Creates a "slug" from text that can be used as part of a valid URL.
Invalid characters are converted to hyphens. Punctuation that Is
perfect valid in a URL Is also converted to hyphens to keep the
result mostly text. Steps are taken to prevent leading, trailing,
And consecutive hyphens.
The string to convert
Removes Invalid characters from a string, suitable for file and path names
Removed characters are:
* Illegal File-characters
* Illegal Path-characters
* Unicode characters that classify as Emoji
* All characters above codepoint U+10000
See:
https://stackoverflow.com/questions/46905176/detecting-all-emojis
https://stackoverflow.com/questions/28023682/how-do-i-remove-emoji-characters-from-a-string
Checks if a point is Visible on any screen
Checks if Size is not negative
Checks if Location is not negative