コード例 #1
0
 public ObjectConverter(OnConvertToXmlDelegate onConvertToXmlNode, OnConvertFromXmlDelegate onConvertFromXmlNode, ShouldWriteDelegate shouldWrite)
 {
     _onConvertToXmlNode   = onConvertToXmlNode;
     _onConvertFromXmlNode = onConvertFromXmlNode;
     _shouldWrite          = shouldWrite;
 }
コード例 #2
0
 public ObjectConverter(OnConvertToJSONDelegate onConvertToJSONElement, OnConvertFromJSONDelegate onConvertFromJSONElement, ShouldWriteDelegate shouldWrite)
 {
     _onConvertToJSONElement   = onConvertToJSONElement;
     _onConvertFromJSONElement = onConvertFromJSONElement;
     _shouldWrite = shouldWrite;
 }