示例#1
0
 public static IEnumerable <string> GetSyncLogs()
 {
     if (syncLogCache == null)
     {
         syncLogCache = new SyncLogCache();
     }
     return(syncLogCache.Collections.Values.ToArray());
 }
示例#2
0
 public static void SetSyncLog(string key, string content)
 {
     if (syncLogCache == null)
     {
         syncLogCache = new SyncLogCache();
     }
     syncLogCache.Set(key, content);
 }