File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Flow.Launcher.Infrastructure/Storage Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2
2
using System . Threading . Tasks ;
3
3
using Flow . Launcher . Infrastructure . Logger ;
4
4
using Flow . Launcher . Infrastructure . UserSettings ;
5
+ using Flow . Launcher . Plugin ;
5
6
using Flow . Launcher . Plugin . SharedCommands ;
6
7
7
8
namespace Flow . Launcher . Infrastructure . Storage
8
9
{
9
- public class FlowLauncherJsonStorage < T > : JsonStorage < T > where T : new ( )
10
+ // Expose ISaveable interface in derived class to make sure we are calling the new version of Save method
11
+ public class FlowLauncherJsonStorage < T > : JsonStorage < T > , ISavable where T : new ( )
10
12
{
11
13
private static readonly string ClassName = "FlowLauncherJsonStorage" ;
12
14
Original file line number Diff line number Diff line change 1
1
using System . IO ;
2
2
using System . Threading . Tasks ;
3
3
using Flow . Launcher . Infrastructure . Logger ;
4
+ using Flow . Launcher . Plugin ;
4
5
using Flow . Launcher . Plugin . SharedCommands ;
5
6
6
7
namespace Flow . Launcher . Infrastructure . Storage
7
8
{
8
- public class PluginBinaryStorage < T > : BinaryStorage < T > where T : new ( )
9
+ // Expose ISaveable interface in derived class to make sure we are calling the new version of Save method
10
+ public class PluginBinaryStorage < T > : BinaryStorage < T > , ISavable where T : new ( )
9
11
{
10
12
private static readonly string ClassName = "PluginBinaryStorage" ;
11
13
Original file line number Diff line number Diff line change 2
2
using System . Threading . Tasks ;
3
3
using Flow . Launcher . Infrastructure . Logger ;
4
4
using Flow . Launcher . Infrastructure . UserSettings ;
5
+ using Flow . Launcher . Plugin ;
5
6
using Flow . Launcher . Plugin . SharedCommands ;
6
7
7
8
namespace Flow . Launcher . Infrastructure . Storage
8
9
{
9
- public class PluginJsonStorage < T > : JsonStorage < T > where T : new ( )
10
+ // Expose ISaveable interface in derived class to make sure we are calling the new version of Save method
11
+ public class PluginJsonStorage < T > : JsonStorage < T > , ISavable where T : new ( )
10
12
{
11
13
// Use assembly name to check which plugin is using this storage
12
14
public readonly string AssemblyName ;
You can’t perform that action at this time.
0 commit comments