示例#1
0
            public void ReplaceAt(UInt32 tag, WireType wireType, IReader reader, bool shouldNotify)
            {
                switch (tag)
                {
                case 0: this.FlattenPath = this.MaybeNotify(0, Vector <UInt32> .Deserialize(reader, this.Path.GetNested(0)), this.FlattenPath, OnFlattenPathUpdate, shouldNotify); break;

                case 1: this.Item = this.MaybeNotify(1, Bytes.Deserialize(reader, this.Path.GetNested(1)), this.Item, OnItemUpdate, shouldNotify); break;

                default: reader.SkipField(wireType); break;
                }
            }