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