/// <summary> /// Reads the MapEntityIndex from an IValueReader. /// </summary> /// <param name="valueReader">IValueReader to read the MapEntityIndex from.</param> /// <param name="name">The unique name of the value to read.</param> /// <returns>The MapEntityIndex read from the IValueReader.</returns> public static MapEntityIndex ReadMapEntityIndex(this IValueReader valueReader, string name) { return(MapEntityIndex.Read(valueReader, name)); }
/// <summary> /// Reads the MapEntityIndex from an <see cref="IDataRecord"/>. /// </summary> /// <param name="r"><see cref="IDataRecord"/> to read the MapEntityIndex from.</param> /// <param name="name">The name of the field to read the value from.</param> /// <returns>The MapEntityIndex read from the <see cref="IDataRecord"/>.</returns> public static MapEntityIndex GetMapEntityIndex(this IDataRecord r, string name) { return(MapEntityIndex.Read(r, name)); }
/// <summary> /// Reads the MapEntityIndex from a BitStream. /// </summary> /// <param name="bitStream">BitStream to read the MapEntityIndex from.</param> /// <returns>The MapEntityIndex read from the BitStream.</returns> public static MapEntityIndex ReadMapEntityIndex(this BitStream bitStream) { return(MapEntityIndex.Read(bitStream)); }
/// <summary> /// Reads the MapEntityIndex from an <see cref="IDataRecord"/>. /// </summary> /// <param name="r"><see cref="IDataRecord"/> to read the MapEntityIndex from.</param> /// <param name="i">The field index to read.</param> /// <returns>The MapEntityIndex read from the <see cref="IDataRecord"/>.</returns> public static MapEntityIndex GetMapEntityIndex(this IDataRecord r, int i) { return(MapEntityIndex.Read(r, i)); }