Exemplo n.º 1
0
 private bool ShouldWriteProperty(PropertyInfo property, bool cullRedundant)
 {
     return
         property.IsSerializable() &&
         (
             !cullRedundant ||
             !IsOverlaid(property) &&
             !IsDefault(property)
         );
 }
Exemplo n.º 2
0
 private static bool ShouldReadProperty(PropertyInfo property)
 {
     return property.IsSerializable();
 }