IExpandoResourceSet Interface

Represents a ResourceSet class that can hold replaceable resources.

Definition

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

Properties

CloneValues Gets or sets whether GetObject/GetMetaObject and GetEnumerator/GetMetadataEnumerator methods return always a new copy of the stored values.
Default value: .
IsModified Gets whether this IExpandoResourceSet instance is modified.
SafeMode Gets or sets whether the IExpandoResourceSet works in safe mode. In safe mode the retrieved objects returned from .resx sources are not deserialized automatically.
Default value: .

Methods

ContainsMeta Gets whether the current IExpandoResourceSet contains a metadata with the given name.
ContainsResource Gets whether the current IExpandoResourceSet contains a resource with the given name.
GetAliasEnumerator Returns an IDictionaryEnumerator that can iterate through the aliases of the IExpandoResourceSet.
GetAliasValue Gets the assembly name for the specified alias.
GetEnumerator Returns an IDictionaryEnumerator that can iterate through the resources of the IExpandoResourceSet.
GetMetadataEnumerator Returns an IDictionaryEnumerator that can iterate through the metadata of the IExpandoResourceSet.
GetMetaObject Searches for a metadata object with the specified name.
GetMetaString Searches for a String metadata with the specified name.
GetObject Searches for a resource object with the specified name.
GetString Searches for a String resource with the specified name.
RemoveAliasValue Removes an assembly alias value in the current IExpandoResourceSet.
RemoveMetaObject Removes a metadata object in the current IExpandoResourceSet with the specified name.
RemoveObject Removes a resource object from the current IExpandoResourceSet with the specified name. If this IExpandoResourceSet represents a hybrid resource set, then the original value of name will be restored (if existed).
Save(Stream, Boolean, Boolean, String) Saves the IExpandoResourceSet to the specified stream. If the current IExpandoResourceSet instance represents a hybrid resource set, saves the expando-part (.resx content) only.
Save(String, Boolean, Boolean, String) Saves the IExpandoResourceSet to the specified file. If the current IExpandoResourceSet instance represents a hybrid resource set, saves the expando-part (.resx content) only.
Save(TextWriter, Boolean, Boolean, String) Saves the IExpandoResourceSet by the specified textWriter. If the current IExpandoResourceSet instance represents a hybrid resource set, saves the expando-part (.resx content) only.
SetAliasValue Adds or replaces an assembly alias value in the current IExpandoResourceSet.
SetMetaObject Adds or replaces a metadata object in the current IExpandoResourceSet with the specified name.
SetObject Adds or replaces a resource object in the current IExpandoResourceSet with the specified name.

See Also