示例#1
0
 /// <summary>
 /// (Thread Safe) Save state to persistant store
 /// </summary>
 public void Save()
 {
     lock (this.saveLock)
     {
         CampfireState.SaveToStore(this);
     }
 }
示例#2
0
 private static void SaveToStore(CampfireState state)
 {
     CampfireState.SaveToStore(state, BackingStorePath);
 }