AddOnSerialized() приватный Метод

private AddOnSerialized ( object obj, SerializationEventHandler handler ) : SerializationEventHandler
obj object
handler SerializationEventHandler
Результат SerializationEventHandler
        private void AddOnSerialized(object obj)
        {
            SerializationEvents cache = SerializationEventsCache.GetSerializationEventsForType(obj.GetType());

            _onSerializedHandler = cache.AddOnSerialized(obj, _onSerializedHandler);
        }
Пример #2
0
        private void AddOnSerialized(object obj)
        {
            SerializationEvents serializationEventsForType = SerializationEventsCache.GetSerializationEventsForType(obj.GetType());

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