Exemple #1
0
 public static GUIDStore Instance()
 {
     if (gstore == null)
     {
         gstore = new GUIDStore();
     }
     return(gstore);
 }
Exemple #2
0
        internal static void PurgeOldGuids(object state)
        {
            var list   = GUIDStore.Instance();
            var logger = Logger.Instance();
            var count  = list.RemoveOld();

            logger.Write(String.Format("Removed {0} expired Guids.", count), LogLevels.Informational);
        }