Exemple #1
0
 public XmlSource()
 {
     TypeInfo = new XmlTypeInfo(typeof(TOutput));
     if (!TypeInfo.IsDynamic)
     {
         XmlSerializer = new XmlSerializer(typeof(TOutput));
     }
 }
Exemple #2
0
 public XmlDestination() : base()
 {
     TypeInfo = new XmlTypeInfo(typeof(TInput));
     if (!TypeInfo.IsDynamic)
     {
         XmlSerializer = new XmlSerializer(typeof(TInput), "");
     }
     InitTargetAction();
 }