CloneWorkingMode Enumeration |
Namespace: WeroSoft.Runtime
public enum CloneWorkingMode
This definition is used for in-process cloning objects only, and never for serializing data to external entities. Since there exists vulnerabilities for serialization you must beware of security for that too. For more information about this topic see this link
Since the whole library of weroSoft shall become portable to .NET Core, we strongly recommend to no longer use the type 'NetDataContractSerializer'.
Member name | Value | Description | |
---|---|---|---|
DataContractSerializer | 0 | The working mode is data contract serializer. | |
NetDataContractSerializer | 1 | Obsolete. The working mode is defining the .NET data contract serializer. | |
BinarySerializer | 2 | Use this mode for binary serialization. This mode needs the SerializableAttribute to be set on the data to be cloned. | |
XmlSerializer | 3 | The working mode is defining to use the XML serializer. | |
GeneralDataContractSerializer | 4 | The working mode defines to use the general serialization. |