/// <summary> /// Creates an instance of the UpdateGlobalDirectoryTable command. /// </summary> /// <param name="address">The address in RAM to which to upload the modified directory entries.</param> /// <param name="updateRange">The range (inclusive) of Global Directory Table entries included in the update.</param> /// <returns>A new instance of the command.</returns> public static UpdateGlobalDirectoryTable Create(uint address, INTV.Core.Utility.Range <byte> updateRange) { return(new UpdateGlobalDirectoryTable(address, updateRange.Minimum, updateRange.Maximum - updateRange.Minimum + 1)); }
/// <summary> /// Creates an instance of the UpdateGlobalFileTable command. /// </summary> /// <param name="address">The address in RAM to which to upload the modified file entries.</param> /// <param name="updateRange">The range (inclusive) of Global File Table entries included in the update.</param> /// <returns>A new instance of the command.</returns> public static UpdateGlobalFileTable Create(uint address, INTV.Core.Utility.Range <ushort> updateRange) { return(new UpdateGlobalFileTable(address, updateRange.Minimum, updateRange.Maximum - updateRange.Minimum + 1)); }