Example #1
0
 public FileSystemSettings(IPublicAPI woxAPI, FolderSettings settings)
 {
     this.woxAPI = woxAPI;
     InitializeComponent();
     _settings = settings ?? throw new ArgumentNullException(paramName: nameof(settings));
     lbxFolders.ItemsSource = _settings.FolderLinks;
 }
Example #2
0
 public Main()
 {
     _storage  = new PluginJsonStorage <FolderSettings>();
     _settings = _storage.Load();
 }