Пример #1
0
 internal static XmlReader ReadElement <TProp, TField>(
     this XmlReader reader,
     ElementMap <TProp, TField> map)
     where TField : TProp
 {
     map.Read(reader);
     return(reader);
 }
Пример #2
0
 public static XmlWriter WriteElement <TProp, TField>(this XmlWriter writer, ElementMap <TProp, TField> map)
     where TField : TProp
 {
     map.Write(writer);
     return(writer);
 }