Пример #1
0
        public void Save()
        {
            string result = Encode();

            if (result != null && !"".Equals(result))
            {
                RecordStoreUtils.SetBytes(name, result);
            }
        }
Пример #2
0
 public void Dispose()
 {
     try
     {
         if (records != null)
         {
             records.Clear();
         }
         if (recordsList != null)
         {
             recordsList.Clear();
         }
         RecordStoreUtils.RemoveRecord(name);
     }
     catch (Exception ex)
     {
         Log.Exception(ex);
     }
 }
Пример #3
0
 public int Load()
 {
     return(LoadEncodeSession(RecordStoreUtils.GetString(name)));
 }