Example #1
0
 /// <summary>
 /// Adds the specified BobData object to the cache of cached bits-of-binary
 /// data.
 /// </summary>
 /// <param name="bob">The BobData object to add to the cache.</param>
 /// <exception cref="ArgumentNullException">The bob parameter is
 /// null.</exception>
 public void Add(BobData bob)
 {
     bob.ThrowIfNull("bob");
     cache[bob.Cid] = bob;
 }