AddOnSerialized() private method

private AddOnSerialized ( object obj, SerializationEventHandler handler ) : SerializationEventHandler
obj object
handler SerializationEventHandler
return SerializationEventHandler
        private void AddOnSerialized(object obj)
        {
            SerializationEvents cache = SerializationEventsCache.GetSerializationEventsForType(obj.GetType());

            _onSerializedHandler = cache.AddOnSerialized(obj, _onSerializedHandler);
        }
Exemplo n.º 2
0
        private void AddOnSerialized(object obj)
        {
            SerializationEvents serializationEventsForType = SerializationEventsCache.GetSerializationEventsForType(obj.GetType());

            this.m_onSerializedHandler = serializationEventsForType.AddOnSerialized(obj, this.m_onSerializedHandler);
        }