ResXResourceManagerCloneValues Property

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

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public bool CloneValues { get; set; }

Property Value

Boolean

Implements

IExpandoResourceManagerCloneValues

Remarks

To be compatible with System.Resources.ResourceManager this property is by default. If this ResXResourceManager 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.

Strings, value types and Type instances are not cloned.

See Also