Beispiel #1
0
 public static XmlWriter WriteAttribute <TProp, TField>(this XmlWriter writer, AttributeMap <TProp, TField> map)
     where TField : TProp
 {
     map.Write(writer);
     return(writer);
 }
Beispiel #2
0
 internal static XmlReader ReadAttribute <TProp, TField>(this XmlReader reader, AttributeMap <TProp, TField> map)
     where TField : TProp
 {
     map.Read(reader);
     return(reader);
 }