IExpandoResourceManager Interface

Represents a ResourceManager with write capabilities.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
C#
public interface IExpandoResourceManager : IDisposable
Implements
IDisposable

Properties

CloneValues Gets or sets whether GetObject and GetMetaObject methods return always a new copy of the stored values.
Default value: .
IgnoreCase Gets or sets a value that indicates whether the resource manager allows case-insensitive resource lookups in the GetString/GetMetaString and GetObject/GetMetaObject methods.
IsDisposed Gets whether this IExpandoResourceManager instance is disposed.
IsModified Gets whether this IExpandoResourceManager instance has modified and unsaved data.
SafeMode Gets or sets whether the IExpandoResourceManager works in safe mode. In safe mode the retrieved objects returned from .resx sources are not deserialized automatically.
Default value: .

Methods

GetExpandoResourceSet Retrieves the resource set for a particular culture, which can be dynamically modified.
GetMetaObject Returns the value of the specified non-string metadata for the specified culture.
GetMetaStream Returns a MemoryStream instance from the metadata of the specified name and culture.
GetMetaString Returns the value of the string metadata for the specified culture.
GetObject Gets the value of the specified resource localized for the specified culture.
GetStream Returns a MemoryStream instance from the resource of the specified name and culture.
GetString Returns the value of the string resource localized for the specified culture.
ReleaseAllResources Tells the resource manager to call the Close method on all ResourceSet objects and release all resources. All unsaved resources will be lost.
RemoveMetaObject Removes a metadata object from the current IExpandoResourceManager with the specified name for the specified culture.
RemoveObject Removes a resource object from the current IExpandoResourceManager with the specified name for the specified culture.
SaveAllResources Saves all already loaded resources.
SaveResourceSet Saves the resource set of a particular culture if it has been already loaded.
SetMetaObject Adds or replaces a metadata object in the current IExpandoResourceManager with the specified name for the specified culture.
SetObject Adds or replaces a resource object in the current IExpandoResourceManager with the specified name for the specified culture.

See Also