Exemplo n.º 1
0
            internal static ListPush Deserialize(IReader reader, Path path = null)
            {
                var listPush = new ListPush(path);

                listPush.Replace(reader, shouldNotify: false);
                return(listPush);
            }
Exemplo n.º 2
0
        public void ReplaceAt(UInt32 tag, WireType wireType, IReader reader, bool shouldNotify)
        {
            switch (tag)
            {
            case 0: this.UpdateAndNotify(0, Update.Deserialize(reader, this.Path.GetNested(0)), shouldNotify); break;

            case 8: this.UpdateAndNotify(8, ListPush.Deserialize(reader, this.Path.GetNested(8)), shouldNotify); break;

            case 9: this.UpdateAndNotify(9, ListPop.Deserialize(reader, this.Path.GetNested(9)), shouldNotify); break;

            case 12: this.UpdateAndNotify(12, MapRemove.Deserialize(reader, this.Path.GetNested(12)), shouldNotify); break;

            default: reader.SkipToEnd(); break;
            }
        }
Exemplo n.º 3
0
 public TestId2ListAttribute(string name, ListPush push) : base(name, push)
 { }
Exemplo n.º 4
0
 public UserLoginBehaviorListAttribute(string name, ListPush push) : base(name, push) { }
Exemplo n.º 5
0
 public NoticeListAttribute(string name, ListPush push) : base(name, push)
 { }
Exemplo n.º 6
0
 public RedisListAttribute(string name, ListPush push) :base(name)
 {
     Push = push;
 }
Exemplo n.º 7
0
 public WeChatMessageListAttribute(string name, ListPush push) : base(name, push)
 { }
Exemplo n.º 8
0
 public EKCommentListAttribute(string name, ListPush push) : base(name, push)
 { }