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