Example #1
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.WriteBoolean(this.Tag, (bool)this.GetAction(container));
 }
Example #2
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, bool value)
 {
     writer.WriteBoolean("Value", value);
 }