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

[192 byte] By [RayManning] at [2008-1-23]
# 1

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.

douglasp at 2007-8-21 > top of Msdn Tech,.NET Development,.NET Remoting and Runtime Serialization...
# 2

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

RayManning at 2007-8-21 > top of Msdn Tech,.NET Development,.NET Remoting and Runtime Serialization...

.NET Development

Site Classified