|
|
@@ -1,11 +1,13 @@
|
|
|
using System;
|
|
|
+using System.IO;
|
|
|
+using InABox.Clients;
|
|
|
using InABox.Core;
|
|
|
|
|
|
namespace InABox.DynamicGrid;
|
|
|
|
|
|
public class WpfDigitalFormDocumentHandler : DigitalFormDocumentHandler
|
|
|
{
|
|
|
- protected override string CachePath => CoreUtils.GetPath();
|
|
|
+ protected override string CachePath => Path.Combine(CoreUtils.GetPath(), ClientFactory.DatabaseID.ToString());
|
|
|
|
|
|
private readonly Func<bool> _connected;
|
|
|
protected override bool IsConnected => _connected?.Invoke() ?? true;
|