C# Класс 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.
Показать файл Открыть проект

Защищенные методы

Метод Описание
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'.

Описание методов

Format() защищенный статический Метод

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
Результат string

NewInst() защищенный статический Метод

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
Результат System.Resources.ResourceManager