Exemplo n.º 1
0
 /// <summary>
 /// Reads a value out of the specified reader.
 /// </summary>
 /// <param name="reader">The reader.</param>
 public override double Read(IFormatReader reader)
 {
     return(reader.ReadDouble("Value"));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Reads the property for the specified container.
 /// </summary>
 /// <param name="reader">The reader.</param>
 /// <param name="container">The container.</param>
 public override void Read(IFormatReader reader, object container)
 {
     this.SetAction(container, reader.ReadDouble(this.Tag));
 }