Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alastairtree committed May 23, 2016
1 parent aac6409 commit 9d5954b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LazyCache is available using [nuget](https://www.nuget.org/packages/LazyCache/).
IAppCache cache = new CachingService();

// Declare (but don't execute) a func/delegate whose result we want to cache
Func<ComplexObects> complexObjectFactory = () => methodThatTakesTimeOrResources();
Func<ComplexObjects> complexObjectFactory = () => methodThatTakesTimeOrResources();

// Get our ComplexObjects from the cache, or build them in the factory func
// and cache the results for next time under the given key
Expand Down

0 comments on commit 9d5954b

Please sign in to comment.