IDeserializationCallback equivalent for ISerializationSurrogate?

Is there a parrallel of IDeserializationCallback for ISerializationSurrogates I'd like the Surrogate to be able to fixup the child objects once deserialization is complete.

Thanks,
Ray


Answer this question

IDeserializationCallback equivalent for ISerializationSurrogate?

  • SiroroS

    That's essentially what I ended up doing. I had the surrogate serialize another object just for that purpose. The object then makes use of IDeserializationCallback.

    - Ray


  • hyperhat

    Not that I am aware of, but you could hack it by putting your surrogate instance in a place were some IDeserializationCallback could call it.


  • IDeserializationCallback equivalent for ISerializationSurrogate?