KGy SOFT

IExpandoResourceSet Interface

KGy SOFT Core Libraries Help
Represents a ResourceSet class that can hold replaceable resources.

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

public interface IExpandoResourceSet : IDisposable

The IExpandoResourceSet type exposes the following members.

Properties

  NameDescription
Public propertyCloneValues
Gets or sets whether GetObject/GetMetaObject and GetEnumerator/GetMetadataEnumerator methods return always a new copy of the stored values.
Default value: .
Public propertyIsModified
Gets whether this IExpandoResourceSet instance is modified.
Public propertySafeMode
Gets or sets whether the IExpandoResourceSet 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 methodContainsMeta
Gets whether the current IExpandoResourceSet contains a metadata with the given name.
Public methodContainsResource
Gets whether the current IExpandoResourceSet contains a resource with the given name.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetAliasEnumerator
Returns an IDictionaryEnumerator that can iterate through the aliases of the IExpandoResourceSet.
Public methodGetAliasValue
Gets the assembly name for the specified alias.
Public methodGetEnumerator
Returns an IDictionaryEnumerator that can iterate through the resources of the IExpandoResourceSet.
Public methodGetMetadataEnumerator
Returns an IDictionaryEnumerator that can iterate through the metadata of the IExpandoResourceSet.
Public methodGetMetaObject
Searches for a metadata object with the specified name.
Public methodGetMetaString
Searches for a String metadata with the specified name.
Public methodGetObject
Searches for a resource object with the specified name.
Public methodGetString
Searches for a String resource with the specified name.
Public methodRemoveAliasValue
Removes an assembly alias value in the current IExpandoResourceSet.
Public methodRemoveMetaObject
Removes a metadata object in the current IExpandoResourceSet with the specified name.
Public methodRemoveObject
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).
Public methodSave(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.
Public methodSave(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.
Public methodSave(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.
Public methodSetAliasValue
Adds or replaces an assembly alias value in the current IExpandoResourceSet.
Public methodSetMetaObject
Adds or replaces a metadata object in the current IExpandoResourceSet with the specified name.
Public methodSetObject
Adds or replaces a resource object in the current IExpandoResourceSet with the specified name.
Top
See Also

Reference