C# Class GSoft.Dynamite.Globalization.ResourceLocator

Locates resource objects from either AppGlobalResources or from 14/Resources
Inheritance: IResourceLocator
Mostrar archivo Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method Description
Find ( string resourceKey ) : string

Retrieves the resource object specified by the key

Find ( string resourceKey, int lcid ) : string

Retrieves the resource object specified by the key and language

Find ( string resourceFileName, string resourceKey ) : string

Retrieves the resource object specified by the key and language

Find ( string resourceFileName, string resourceKey, CultureInfo culture ) : string

Retrieves the resource object specified by the key and culture

Find ( string resourceFileName, string resourceKey, int lcid ) : string

Retrieves the resource object specified by the key and language

ResourceLocator ( IResourceLocatorConfig resourceFileConfig ) : System

Creates a new resource locator which will default to the provided resource file name.

Method Details

Find() public method

Retrieves the resource object specified by the key
public Find ( string resourceKey ) : string
resourceKey string The resource key
return string

Find() public method

Retrieves the resource object specified by the key and language
public Find ( string resourceKey, int lcid ) : string
resourceKey string The resource key
lcid int The LCID of the desired culture
return string

Find() public method

Retrieves the resource object specified by the key and language
public Find ( string resourceFileName, string resourceKey ) : string
resourceFileName string The name of to the resource file where the resource is located
resourceKey string The resource key
return string

Find() public method

Retrieves the resource object specified by the key and culture
public Find ( string resourceFileName, string resourceKey, CultureInfo culture ) : string
resourceFileName string The name of to the resource file where the resource is located
resourceKey string The resource key
culture System.Globalization.CultureInfo The desired culture
return string

Find() public method

Retrieves the resource object specified by the key and language
public Find ( string resourceFileName, string resourceKey, int lcid ) : string
resourceFileName string The name of to the resource file where the resource is located
resourceKey string The resource key
lcid int The LCID of the desired culture
return string

ResourceLocator() public method

Creates a new resource locator which will default to the provided resource file name.
public ResourceLocator ( IResourceLocatorConfig resourceFileConfig ) : System
resourceFileConfig IResourceLocatorConfig
return System