C# Class Itenso.Sys.StringsBase

Provides some helper functionality to keep resource handling in a namespace as simple and uniform as possible.
intended to be used by a singleton class per namespace, which should commonly be named Strings. This singleton instance should provide access to resources via strongly typed properties, thus avoiding coding errors with misspelled resource identifiers.
Mostra file Open project: Shereef/RTF-to-HTML-Converter-Class-Library-DLL

Protected Methods

Method Description
Format ( string format ) : string

Formats the given format-string with the invariant culture and the given arguments.

NewInst ( Type singletonType ) : ResourceManager

Creates a ResourceManager instance for the given type, loading its resources from the type's full name, suffixed with '.resx'.

Method Details

Format() protected static method

Formats the given format-string with the invariant culture and the given arguments.
protected static Format ( string format ) : string
format string the string to format
return string

NewInst() protected static method

Creates a ResourceManager instance for the given type, loading its resources from the type's full name, suffixed with '.resx'.
protected static NewInst ( Type singletonType ) : ResourceManager
singletonType System.Type the type of the singleton
return System.Resources.ResourceManager