Пример #1
0
        public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
        {
            IProtoTypeSerializer pts = Tail as IProtoTypeSerializer;

            if (pts != null)
            {
                pts.Callback(value, callbackType, context);
            }
        }
Пример #2
0
        public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
        {
            IProtoTypeSerializer tail = base.Tail as IProtoTypeSerializer;

            if (tail != null)
            {
                tail.Callback(value, callbackType, context);
            }
        }
Пример #3
0
        public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
        {
            if (_callbacks != null)
            {
                InvokeCallback(_callbacks[callbackType], value, _constructType, context);
            }
            IProtoTypeSerializer ser = (IProtoTypeSerializer)GetMoreSpecificSerializer(value);

            ser?.Callback(value, callbackType, context);
        }
Пример #4
0
        // Token: 0x0600361B RID: 13851 RVA: 0x00135C9C File Offset: 0x0013409C
        public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
        {
            if (callbacks != null)
            {
                InvokeCallback(callbacks[callbackType], value, context);
            }
            IProtoTypeSerializer protoTypeSerializer = (IProtoTypeSerializer)GetMoreSpecificSerializer(value);

            if (protoTypeSerializer != null)
            {
                protoTypeSerializer.Callback(value, callbackType, context);
            }
        }
Пример #5
0
        public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
        {
            if (this.callbacks != null)
            {
                this.InvokeCallback(this.callbacks[callbackType], value, context);
            }
            IProtoTypeSerializer moreSpecificSerializer = (IProtoTypeSerializer)this.GetMoreSpecificSerializer(value);

            if (moreSpecificSerializer != null)
            {
                moreSpecificSerializer.Callback(value, callbackType, context);
            }
        }
Пример #6
0
        public void Callback(object value, TypeModel.CallbackType callbackType)
        {
            if (callbacks != null)
            {
                InvokeCallback(callbacks[callbackType], value);
            }
            IProtoTypeSerializer ser = (IProtoTypeSerializer)GetMoreSpecificSerializer(value);

            if (ser != null)
            {
                ser.Callback(value, callbackType);
            }
        }
Пример #7
0
 public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
 {
     _serializer.Callback(value, callbackType, context);
 }
Пример #8
0
        public void Callback(object value, TypeModel.CallbackType callbackType, SerializationContext context)
        {
            IProtoTypeSerializer protoTypeSerializer = base.Tail as IProtoTypeSerializer;

            protoTypeSerializer?.Callback(value, callbackType, context);
        }