source: binary-improvements/7dtd-server-fixes/src/JSON/JSONBoolean.cs@ 167

Last change on this file since 167 was 154, checked in by alloc, 10 years ago

fixes

File size: 314 bytes
RevLine 
[154]1using System;
2
3namespace AllocsFixes.JSON
4{
5 public class JSONBoolean : JSONNode
6 {
7 private bool value;
8
9 public JSONBoolean (bool value)
10 {
11 this.value = value;
12 }
13
14 public override string ToString ()
15 {
16 return value.ToString (System.Globalization.CultureInfo.InvariantCulture).ToLower ();
17 }
18
19 }
20}
21
Note: See TracBrowser for help on using the repository browser.