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