C# Class OKHOSTING.UI.Translator

It represents a language translator where you return the request in the language in which this your dispocitivo. Representa un traductor del lenguaje donde te regresa la peticion en el lenguaje en el que este tu dispocitivo.

Mostra file Open project: okhosting/OKHOSTING.UI

Public Methods

Method Description
GetString ( Type type, string name ) : string

Gets the string. Devuelve el manejador que corresponda con el nombre especificado.

Translate ( Enum enumValue ) : string

Translate the specified enumValue.

Translate ( System member ) : string

Translate the specified member.

Translate ( Type type ) : string

Translate the specified type. Traduce el tipo especificado.

Private Methods

Method Description
GetManager ( Type type ) : System.Resources.ResourceManager

Gets the manager. Obtiene el manejador de recursos.

Method Details

GetString() public static method

Gets the string. Devuelve el manejador que corresponda con el nombre especificado.

public static GetString ( Type type, string name ) : string
type System.Type Type.
name string Name.
return string

Translate() public static method

Translate the specified enumValue.
public static Translate ( Enum enumValue ) : string
enumValue System.Enum Enum value.
return string

Translate() public static method

Translate the specified member.
public static Translate ( System member ) : string
member System Member.
return string

Translate() public static method

Translate the specified type. Traduce el tipo especificado.

public static Translate ( Type type ) : string
type System.Type Type.
return string