Inheritance: BaseFixupRecord
示例#1
0
        public virtual void RecordArrayElementFixup(long arrayToBeFixed, int[] indices, long objectRequired)
        {
            if (arrayToBeFixed <= 0)
            {
                throw new ArgumentOutOfRangeException("arrayToBeFixed", "The arrayToBeFixed parameter is less than or equal to zero");
            }
            if (objectRequired <= 0)
            {
                throw new ArgumentOutOfRangeException("objectRequired", "The objectRequired parameter is less than or equal to zero");
            }
            if (indices == null)
            {
                throw new ArgumentNullException("indices");
            }
            MultiArrayFixupRecord record = new MultiArrayFixupRecord(GetObjectRecord(arrayToBeFixed), indices, GetObjectRecord(objectRequired));

            AddFixup(record);
        }
		public virtual void RecordArrayElementFixup (long arrayToBeFixed, int[] indices, long objectRequired)
		{
			if (arrayToBeFixed <= 0) throw new ArgumentOutOfRangeException("arrayToBeFixed","The arrayToBeFixed parameter is less than or equal to zero");
			if (objectRequired <= 0) throw new ArgumentOutOfRangeException("objectRequired","The objectRequired parameter is less than or equal to zero");
			if (indices == null) throw new ArgumentNullException("indices");
			MultiArrayFixupRecord record = new MultiArrayFixupRecord (GetObjectRecord(arrayToBeFixed), indices, GetObjectRecord(objectRequired));
			AddFixup (record);
		}