public void AddPostSerializationCallback(IPostSerializationCallback callback)
        {
            if (callback == null)
            {
                return;
            }
            if (callback.NeedCallback == false)
            {
                return;
            }

            if (_postSerializeCallbacks == null)
            {
                _postSerializeCallbacks = new ArrayList();
            }
            _postSerializeCallbacks.Add(callback);
        }
Exemple #2
0
        public void AddPostSerializationCallback(IPostSerializationCallback callback)
        {
            if (callback == null)
            {
                return;
            }

            if (callback.NeedCallback == false)
            {
                return;
            }

            if (this._postSerializeCallbacks == null)
            {
                this._postSerializeCallbacks = new ArrayList();
            }

            this._postSerializeCallbacks.Add(callback);
        }
Exemple #3
0
        public void AddPostSerializationCallback(IPostSerializationCallback callback)
        {
            if (callback == null) return;
            if (callback.NeedCallback == false) return;

            if (_postSerializeCallbacks == null)
                _postSerializeCallbacks = new ArrayList();
            _postSerializeCallbacks.Add(callback);
        }