Inheritance: BaseFixupRecord
Esempio n. 1
0
        public virtual void RecordDelayedFixup(long objectToBeFixed, string memberName, long objectRequired)
        {
            if (objectToBeFixed <= 0)
            {
                throw new ArgumentOutOfRangeException("objectToBeFixed", "The objectToBeFixed 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 (memberName == null)
            {
                throw new ArgumentNullException("memberName");
            }
            DelayedFixupRecord record = new DelayedFixupRecord(GetObjectRecord(objectToBeFixed), memberName, GetObjectRecord(objectRequired));

            AddFixup(record);
        }
		public virtual void RecordDelayedFixup (long objectToBeFixed, string memberName, long objectRequired)
		{
			if (objectToBeFixed <= 0) throw new ArgumentOutOfRangeException("objectToBeFixed","The objectToBeFixed 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 (memberName == null) throw new ArgumentNullException("memberName");
			DelayedFixupRecord record = new DelayedFixupRecord (GetObjectRecord(objectToBeFixed), memberName, GetObjectRecord(objectRequired));
			AddFixup (record);
		}