public void DeletionTest() { ComplexType t = new ComplexType() { Date = DateTime.Now, Value = 489.9, Titles = new List <string>() { "President", "Operations" } }; var success = cache.Set <ComplexType>(Areas.General, "test", "3", t); cache.Delete(Areas.General, "test", "3"); var gone = cache.Get <ComplexType>(Areas.General, "test", "3"); Assert.IsNull(gone); }
public void Delete(Areas area, string field, string key) { cache.Delete(area, field, key); }