예제 #1
0
 /// <summary>
 /// Reads the <see cref="GuildID"/> from an IValueReader.
 /// </summary>
 /// <param name="valueReader"><see cref="IValueReader"/> to read the <see cref="GuildID"/> from.</param>
 /// <param name="name">The unique name of the value to read.</param>
 /// <returns>The <see cref="GuildID"/> read from the IValueReader.</returns>
 public static GuildID ReadGuildID(this IValueReader valueReader, string name)
 {
     return(GuildID.Read(valueReader, name));
 }
예제 #2
0
 /// <summary>
 /// Reads the <see cref="GuildID"/> from an <see cref="IDataRecord"/>.
 /// </summary>
 /// <param name="r"><see cref="IDataRecord"/> to read the <see cref="GuildID"/> from.</param>
 /// <param name="name">The name of the field to read the value from.</param>
 /// <returns>The <see cref="GuildID"/> read from the <see cref="IDataRecord"/>.</returns>
 public static GuildID GetGuildID(this IDataRecord r, string name)
 {
     return(GuildID.Read(r, name));
 }
예제 #3
0
 /// <summary>
 /// Reads the <see cref="GuildID"/> from a <see cref="BitStream"/>.
 /// </summary>
 /// <param name="bitStream"><see cref="BitStream"/> to read the <see cref="GuildID"/> from.</param>
 /// <returns>The <see cref="GuildID"/> read from the <see cref="BitStream"/>.</returns>
 public static GuildID ReadGuildID(this BitStream bitStream)
 {
     return(GuildID.Read(bitStream));
 }
예제 #4
0
 /// <summary>
 /// Reads the <see cref="GuildID"/> from an <see cref="IDataRecord"/>.
 /// </summary>
 /// <param name="r"><see cref="IDataRecord"/> to read the <see cref="GuildID"/> from.</param>
 /// <param name="i">The field index to read.</param>
 /// <returns>The <see cref="GuildID"/> read from the <see cref="IDataRecord"/>.</returns>
 public static GuildID GetGuildID(this IDataRecord r, int i)
 {
     return(GuildID.Read(r, i));
 }