C# Class Castle.MonoRail.Framework.Internal.ResourceFacade

Simple facade that provides the IResource interface to a ResourceManager instance.
Inheritance: IResource
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

GetObject ( string key ) : object

Returns the object linked to the specific key.

GetString ( string key ) : string

Returns the object linked to the specific key as a string.

ResourceFacade ( ResourceManager resourceManager, CultureInfo cultureInfo ) : System.Collections

Initializes a new instance of the ResourceFacade class.

this ( string key ) : object

Returns the object linked to the specific key.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

GetEnumerator() public méthode

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetObject() public méthode

Returns the object linked to the specific key.
public GetObject ( string key ) : object
key string
Résultat object

GetString() public méthode

Returns the object linked to the specific key as a string.
public GetString ( string key ) : string
key string
Résultat string

ResourceFacade() public méthode

Initializes a new instance of the ResourceFacade class.
public ResourceFacade ( ResourceManager resourceManager, CultureInfo cultureInfo ) : System.Collections
resourceManager System.Resources.ResourceManager The resource manager.
cultureInfo System.Globalization.CultureInfo The culture info.
Résultat System.Collections

this() public méthode

Returns the object linked to the specific key.
public this ( string key ) : object
key string
Résultat object