/// <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)); }
/// <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); }