C# Class System.Resources.ResourceManager

显示文件 Open project: dotnet/corefx Class Usage Examples

Protected Properties

Property Type Description
MainAssembly Assembly

Public Methods

Method Description
GetString ( string name ) : string
GetString ( string name, CultureInfo culture ) : string
ResourceManager ( Type resourceSource ) : System.Globalization
ResourceManager ( string resourcesName ) : System.Globalization
ResourceManager ( string baseName, Assembly assembly ) : System.Globalization

Protected Methods

Method Description
GetNeutralResourcesLanguage ( Assembly a ) : CultureInfo

Private Methods

Method Description
GetNeutralLanguageForAssembly ( Assembly assembly ) : string
GetResourceMap ( string subtreeName ) : object
GetResourceString ( string resourceName, string languageName ) : string

Method Details

GetNeutralResourcesLanguage() protected static method

protected static GetNeutralResourcesLanguage ( Assembly a ) : CultureInfo
a Assembly
return CultureInfo

GetString() public method

public GetString ( string name ) : string
name string
return string

GetString() public method

public GetString ( string name, CultureInfo culture ) : string
name string
culture CultureInfo
return string

ResourceManager() public method

public ResourceManager ( Type resourceSource ) : System.Globalization
resourceSource Type
return System.Globalization

ResourceManager() public method

public ResourceManager ( string resourcesName ) : System.Globalization
resourcesName string
return System.Globalization

ResourceManager() public method

public ResourceManager ( string baseName, Assembly assembly ) : System.Globalization
baseName string
assembly Assembly
return System.Globalization

Property Details

MainAssembly protected_oe property

protected Assembly MainAssembly
return Assembly