SenseNet.ContentRepository.ContentList.SlotTable.ReserveSlot C# (CSharp) Method

ReserveSlot() public method

public ReserveSlot ( DataType dataType ) : int
dataType DataType
return int
			public int ReserveSlot(DataType dataType)
			{
				List<int> slots = _slotTable[dataType];
				int currentSlot = _currentSlots[dataType];
				while (slots.Contains(++currentSlot)) ;
				slots.Add(currentSlot);
				_currentSlots[dataType] = currentSlot;
				return currentSlot;
			}
		}
ContentList.SlotTable