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