RaiseOnDeserialized() public method

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

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

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