KGy SOFT

HybridResourceManagerCloneValues Property

KGy SOFT Core Libraries Help
Gets or sets whether GetObject and GetMetaObject methods return always a new copy of the stored values.
Default value: .

Namespace:  KGySoft.Resources
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public bool CloneValues { get; set; }

Property Value

Type: Boolean

Implements

IExpandoResourceManagerCloneValues
Remarks

To be compatible with System.Resources.ResourceManager this property is  by default. If this HybridResourceManager contains no mutable values or it is known that modifying values is not an issue, then this property can be set to  for better performance.

String values are not cloned.

The value of this property affects only the objects returned from .resx sources. Non-string values from compiled sources are always cloned.

See Also

Reference