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 22using System . Threading . Tasks ;
33using Flow . Launcher . Infrastructure . Logger ;
44using Flow . Launcher . Infrastructure . UserSettings ;
5+ using Flow . Launcher . Plugin ;
56using Flow . Launcher . Plugin . SharedCommands ;
67
78namespace Flow . Launcher . Infrastructure . Storage
89{
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 ( )
1012 {
1113 private static readonly string ClassName = "FlowLauncherJsonStorage" ;
1214
Original file line number Diff line number Diff line change 11using System . IO ;
22using System . Threading . Tasks ;
33using Flow . Launcher . Infrastructure . Logger ;
4+ using Flow . Launcher . Plugin ;
45using Flow . Launcher . Plugin . SharedCommands ;
56
67namespace Flow . Launcher . Infrastructure . Storage
78{
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 ( )
911 {
1012 private static readonly string ClassName = "PluginBinaryStorage" ;
1113
Original file line number Diff line number Diff line change 22using System . Threading . Tasks ;
33using Flow . Launcher . Infrastructure . Logger ;
44using Flow . Launcher . Infrastructure . UserSettings ;
5+ using Flow . Launcher . Plugin ;
56using Flow . Launcher . Plugin . SharedCommands ;
67
78namespace Flow . Launcher . Infrastructure . Storage
89{
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 ( )
1012 {
1113 // Use assembly name to check which plugin is using this storage
1214 public readonly string AssemblyName ;
You can’t perform that action at this time.
0 commit comments