示例#1
0
 public static object To(this Je.IXmlExpander e, byte[] bytes, Type type, XmlConverter converter = null)
 {
     return((converter ?? Converter).Deserialize(bytes, type));
 }
示例#2
0
 public static TResult To <TResult>(this Je.IXmlExpander e, byte[] bytes, XmlConverter converter = null)
 {
     return((TResult)(converter ?? Converter).Deserialize(bytes, typeof(TResult)));
 }
示例#3
0
 public static string Of(this Je.IXmlExpander e, object value, XmlConverter converter = null)
 {
     return((converter ?? Converter).SerializeToString(value));
 }