KGy SOFT

IExpandoResourceManager Interface

KGy SOFT Core Libraries Help
Represents a ResourceManager with write capabilities.

Namespace:  KGySoft.Resources
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0-rc.1
Syntax

public interface IExpandoResourceManager : IDisposable

The IExpandoResourceManager type exposes the following members.

Properties

  NameDescription
Public propertyCloneValues
Gets or sets whether GetObject and GetMetaObject methods return always a new copy of the stored values.
Default value: .
Public propertyIgnoreCase
Gets or sets a value that indicates whether the resource manager allows case-insensitive resource lookups in the GetString/GetMetaString and GetObject/GetMetaObject methods.
Public propertyIsDisposed
Gets whether this IExpandoResourceManager instance is disposed.
Public propertyIsModified
Gets whether this IExpandoResourceManager instance has modified and unsaved data.
Public propertySafeMode
Gets or sets whether the IExpandoResourceManager works in safe mode. In safe mode the retrieved objects returned from .resx sources are not deserialized automatically.
See the Remarks section for details.
Default value: .
Top
Methods

  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetExpandoResourceSet
Retrieves the resource set for a particular culture, which can be dynamically modified.
Public methodGetMetaObject
Returns the value of the specified non-string metadata for the specified culture.
Public methodGetMetaStream
Returns a MemoryStream instance from the metadata of the specified name and culture.
Public methodGetMetaString
Returns the value of the string metadata for the specified culture.
Public methodGetObject
Gets the value of the specified resource localized for the specified culture.
Public methodGetStream
Returns a MemoryStream instance from the resource of the specified name and culture.
Public methodGetString
Returns the value of the string resource localized for the specified culture.
Public methodReleaseAllResources
Tells the resource manager to call the Close method on all ResourceSet objects and release all resources. All unsaved resources will be lost.
Public methodRemoveMetaObject
Removes a metadata object from the current IExpandoResourceManager with the specified name for the specified culture.
Public methodRemoveObject
Removes a resource object from the current IExpandoResourceManager with the specified name for the specified culture.
Public methodSaveAllResources
Saves all already loaded resources.
Public methodSaveResourceSet
Saves the resource set of a particular culture if it has been already loaded.
Public methodSetMetaObject
Adds or replaces a metadata object in the current IExpandoResourceManager with the specified name for the specified culture.
Public methodSetObject
Adds or replaces a resource object in the current IExpandoResourceManager with the specified name for the specified culture.
Top
See Also

Reference