Esempio n. 1
0
		public SlotCollector(int depth, IReferenceCollector collector, ISlotAccessor accessor
			)
		{
			if (depth < 1)
			{
				throw new ArgumentException();
			}
			_depth = depth;
			_slotAccessor = accessor;
			_referenceCollector = collector;
		}
Esempio n. 2
0
 public SlotCollector(int depth, IReferenceCollector collector, ISlotAccessor accessor
                      )
 {
     if (depth < 1)
     {
         throw new ArgumentException();
     }
     _depth              = depth;
     _slotAccessor       = accessor;
     _referenceCollector = collector;
 }