Exemplo n.º 1
0
 internal static XmlReader ReadElement <TProp, TField>(
     this XmlReader reader,
     ElementMap <TProp, TField> map)
     where TField : TProp
 {
     map.Read(reader);
     return(reader);
 }
Exemplo n.º 2
0
 public static XmlWriter WriteElement <TProp, TField>(this XmlWriter writer, ElementMap <TProp, TField> map)
     where TField : TProp
 {
     map.Write(writer);
     return(writer);
 }