Exemple #1
0
 /// <summary>
 /// Adds the specified key and item to this dictionary.
 /// </summary>
 /// <param name="key">The key of the item</param>
 /// <param name="item">The value of the item.</param>
 public void Add(string key, bool item)
 {
     base.Add(key, JsonBoolean.Get(item));
 }
 /// <summary>
 /// Adds the specified item to this collection.
 /// </summary>
 /// <param name="item">The item to add.</param>
 public void Add(bool item)
 {
     base.Add(JsonBoolean.Get(item));
 }
 /// <summary>
 /// Creates a <see cref="NetServ.Net.Json.JsonBoolean"/> representing
 /// the specified <paramref name="value"/>.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>a <see cref="NetServ.Net.Json.JsonBoolean"/> representing
 /// the specified <paramref name="value"/></returns>
 public JsonBoolean CreateBoolean(bool value)
 {
     return(JsonBoolean.Get(value));
 }