/// <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, JsBoolean.Get(item)); }
/// <summary> /// Creates a <see cref="Vlad2Net.Json.JsBoolean"/> representing /// the specified <paramref name="value"/>. /// </summary> /// <param name="value">The value.</param> /// <returns>a <see cref="Vlad2Net.Json.JsBoolean"/> representing /// the specified <paramref name="value"/></returns> public JsBoolean CreateBoolean(bool value) { return(JsBoolean.Get(value)); }
/// <summary> /// Adds the specified item to this collection. /// </summary> /// <param name="item">The item to add.</param> public void Add(bool item) { base.Add(JsBoolean.Get(item)); }