Exemple #1
0
 void reader_OnMemberReading(object sender, ReadMemberEventArgs e)
 {
     var reader = sender as IReader;
     if (reader.CurrentObject == this && e.Member.Name == "_Value")
     {
         e.Type = Type;
         reader.OnMemberReading -= new EventHandler<ReadMemberEventArgs>(reader_OnMemberReading);
     }
 }
Exemple #2
0
 void reader_OnMemberReading(object sender, ReadMemberEventArgs e)
 {
     if (e.Member.Name == "_Value") e.Type = Type;
 }