Provides a cache of unique primitive values when writing a binary plist.
コード例 #1
0
        /// <summary>
        /// Resets this instance's state.
        /// </summary>
        private void Reset()
        {
            this.objectTableSize                  =
                this.objectRefCount               =
                    this.objectRefSize            =
                        this.topLevelObjectOffset = 0;

            this.objectRefSize     = 1;
            this.maxObjectRefValue = 255;

            this.objectTable = new List <BinaryPlistItem>();
            this.offsetTable = new List <long>();
            this.uniques     = new UniqueValueCache();
        }
コード例 #2
0
        /// <summary>
        /// Resets this instance's state.
        /// </summary>
        private void Reset()
        {
            this.objectTableSize =
            this.objectRefCount =
            this.objectRefSize =
            this.topLevelObjectOffset = 0;

            this.objectRefSize = 1;
            this.maxObjectRefValue = 255;

            this.objectTable = new List<BinaryPlistItem>();
            this.offsetTable = new List<long>();
            this.uniques = new UniqueValueCache();
        }