Class SerializeUtil
Last update: 16.07.2025Namespace: VM.Managed
Assembly: VMObjBase.dll
SerializeUtil
public class SerializeUtil
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
SerializeUtil()
public SerializeUtil()
Methods
Deserial<T>(string, Type)
Deserialize data
public static T Deserial<T>(string xml, Type type)
Parameters
xml string
The object xml
type Type
The deserialized explicit type
Returns
T
Type Parameters
T
The object type
Deserial<T>(string)
public static T Deserial<T>(string xml)
Parameters
xml string
The object xml
Returns
T
Type Parameters
T
The object type
Serial<T>(T)
Serialize data
public static string Serial<T>(T obj)
Parameters
obj T
The object
Returns
The new
Type Parameters
T
The object type
Serial(ObjectBase)
public static string Serial(ObjectBase obj)
Parameters
obj ObjectBase
Returns
SerialXmlDoc<T>(T)
Serialize data
public static XmlDocument SerialXmlDoc<T>(T obj)
Parameters
obj T
The object
Returns
The new
Type Parameters
T
The object type