Exemplo n.º 1
0
 /// <summary>
 /// Writes the specified value.
 /// </summary>
 /// <param name="writer">The writer.</param>
 /// <param name="value">The value.</param>
 public override void Write(IFormatWriter writer, float value)
 {
     writer.WriteFloat("Value", value);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Writes property for the specified container.
 /// </summary>
 /// <param name="writer">The writer.</param>
 /// <param name="container">The container.</param>
 public override void Write(IFormatWriter writer, object container)
 {
     writer.WriteFloat(this.Tag, (float)this.GetAction(container));
 }