Created
April 22, 2013 18:37
Revisions
-
srkirkland created this gist
Apr 22, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ public static class CacheFactory { /// <summary> /// This is a thread-safe, lazy singleton. See http://www.yoda.arachsys.com/csharp/singleton.html /// for more details about its implementation. /// </summary> public static DataCacheFactory Instance { get { return Nested.CacheFactory; } } private class Nested { internal static readonly DataCacheFactory CacheFactory = new DataCacheFactory(); } }