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