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

Simple facade that provides the IResource interface to a ResourceManager instance.
Inheritance: IResource
ファイルを表示 Open project: nats/castle-1.0.3-mono

Public Methods

Method 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 method

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

GetEnumerator() public method

Returns an enumerator that iterates through a collection.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetObject() public method

Returns the object linked to the specific key.
public GetObject ( string key ) : object
key string
return object

GetString() public method

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

ResourceFacade() public method

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.
return System.Collections

this() public method

Returns the object linked to the specific key.
public this ( string key ) : object
key string
return object