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