Exemplo n.º 1
0
 /// <summary>
 /// Adds the value associated with the specified key
 /// </summary>
 /// <param name="z"></param>
 /// <param name="d"></param>
 public void Add(NKeyValue <A, VALUE> z, VALUE d)
 {
     this.Add(z.Key, d);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Determines if the value associated with the specified key exists
 /// </summary>
 /// <param name="z"></param>
 public void ContainsKey(NKeyValue <A, VALUE> z)
 {
     this.ContainsKey(z.Key);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Deletes the value associated with the specified key
 /// </summary>
 /// <param name="z"></param>
 public void Remove(NKeyValue <A, VALUE> z)
 {
     this.Remove(z.Key);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Gets the value associated with the specified key
 /// </summary>
 /// <param name="exists"></param>
 /// <param name="defaultData"></param>
 /// <param name="z"></param>
 /// <returns></returns>
 public VALUE Get(out bool exists, VALUE defaultData, NKeyValue <A, VALUE> z)
 {
     return(this.Get(out exists, defaultData, z.Key));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Gets the value associated with the specified key
 /// </summary>
 /// <param name="z"></param>
 /// <returns></returns>
 public VALUE Get(NKeyValue <A, VALUE> z)
 {
     return(this.Get(z.Key));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Gets the value associated with the specified key
 /// </summary>
 /// <param name="z"></param>
 /// <returns></returns>
 public VALUE this[NKeyValue <A, VALUE> z]
 {
     get { return(Get(z)); }
     set { this.Upsert(true, z.Key, value); }
 }