Example #1
0
        protected override void ReadAttributes(MetadataAttributeReader data)
        {
            System.Diagnostics.Debug.Assert(mAttributes == null);
            System.Diagnostics.Debug.Assert(data.Count == mItemCount);

            mAttributes = new List <ArchivedAttributes?>(data.Count);
            for (int i = 0; i < data.Count; i++)
            {
                mAttributes.Add(data.ReadAttributes());
            }
        }