Skip to content

Instantly share code, notes, and snippets.

@eqr
Created February 17, 2018 22:01
Show Gist options
  • Save eqr/5655569c48505c007786f5de0a958c14 to your computer and use it in GitHub Desktop.
Save eqr/5655569c48505c007786f5de0a958c14 to your computer and use it in GitHub Desktop.
Grid.NET adding/removing
var cache = CacheFactory.CreateCache(Person.CreateTestData());
cache.AddIndexer(new Indexer<Person, string>(p => p.Name));
cache.AddItems(new Person("Jane", "Dow", new DateTime()), new Person("Jill", "Jungle", new DateTime()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment