RaiseOnDeserialized() public method

public RaiseOnDeserialized ( object target, StreamingContext contex ) : void
target object
contex StreamingContext
return void
Example #1
0
        void RaiseOnDeserializedEvent(object obj)
        {
            SerializationCallbacks sc = SerializationCallbacks
                                        .GetSerializationCallbacks(obj.GetType());

            sc.RaiseOnDeserialized(obj, _context);
        }
Example #2
0
        private void RaiseOnDeserializedEvent(object obj)
        {
            SerializationCallbacks serializationCallbacks = SerializationCallbacks.GetSerializationCallbacks(obj.GetType());

            serializationCallbacks.RaiseOnDeserialized(obj, this._context);
        }