C# Class Slickflow.Engine.Utility.SerializationHelper

序列化帮助类
Afficher le fichier Open project: uname-yang/WorkFlow-Engine-OData-WebApi-with-OdataClient

Méthodes publiques

Méthode Description
Deserialize ( Type type, string strObject, string rootName, string nameSpace ) : object

反序列化一个对象

Serialize ( Type type, object obj, string rootName, string nameSpace ) : string

DataContractSerializer序列化一个对象

Method Details

Deserialize() public static méthode

反序列化一个对象
public static Deserialize ( Type type, string strObject, string rootName, string nameSpace ) : object
type System.Type
strObject string
rootName string
nameSpace string
Résultat object

Serialize() public static méthode

DataContractSerializer序列化一个对象
public static Serialize ( Type type, object obj, string rootName, string nameSpace ) : string
type System.Type 对象类型
obj object 实例对象
rootName string
nameSpace string
Résultat string