コード例 #1
0
 public object Read(object value, ProtoReader source)
 {
     if (type == typeof(object))
     {
         return(BclHelpers.ReadNetObject(value, source, key, null, options));
     }
     else
     {
         return(BclHelpers.ReadNetObject(value, source, key, type, options));
     }
 }
コード例 #2
0
        public object Read(object value, ProtoReader source)
        {
            Type        type;
            object      obj         = value;
            ProtoReader protoReader = source;
            int         num         = this.key;

            if (this.type == typeof(object))
            {
                type = null;
            }
            else
            {
                type = this.type;
            }
            return(BclHelpers.ReadNetObject(obj, protoReader, num, type, this.options));
        }
コード例 #3
0
 // Token: 0x060035A6 RID: 13734 RVA: 0x00134C0A File Offset: 0x0013300A
 public object Read(object value, ProtoReader source)
 {
     return(BclHelpers.ReadNetObject(value, source, key, (type != typeof(object)) ? type : null, options));
 }
コード例 #4
0
 // Token: 0x06000224 RID: 548 RVA: 0x00003572 File Offset: 0x00001772
 public object Read(object value, ProtoReader source)
 {
     return(BclHelpers.ReadNetObject(value, source, this.key, (this.type == typeof(object)) ? null : this.type, this.options));
 }
コード例 #5
0
 public object Read(object value, ProtoReader source)
 {
     return(BclHelpers.ReadNetObject(value, source, key, type == typeof(object) ? null : type));
 }
コード例 #6
0
 public object Read(ProtoReader source, ref ProtoReader.State state, object value)
 {
     return(BclHelpers.ReadNetObject(source, ref state, value, key, ExpectedType == typeof(object) ? null : ExpectedType, options));
 }