/// <summary> /// Adds a hot table /// </summary> /// <param name="hotTable">The hot table</param> public void Add(HotTable hotTable) { var table = hotTable.Table; if ((uint)table >= (uint)headers.Length) { throw new ArgumentException("Invalid table type"); } headers[(int)table] = hotTable; }
/// <summary> /// Adds a hot table /// </summary> /// <param name="hotTable">The hot table</param> public void Add(HotTable hotTable) { var table = hotTable.Table; if ((uint)table >= (uint)headers.Length) throw new ArgumentException("Invalid table type"); headers[(int)table] = hotTable; }