Пример #1
0
 static void GetStoreInfo(IPropertyDatabaseStore store, string storeTitle, StringBuilder sb)
 {
     using (var view = store.GetView())
     {
         sb.AppendLine($"\t{storeTitle}:");
         sb.AppendLine($"\t\tCount: {view.length}");
         sb.AppendLine($"\t\tSize: {Utils.FormatBytes(view.byteSize)}");
     }
 }
Пример #2
0
 public void MergeWith(IPropertyDatabaseStore store)
 {
     using (var otherView = store.GetView())
         MergeWith(otherView);
 }