Add temporary remove all monitoring paths for IO-996.

This commit is contained in:
Patrick Fic
2021-05-10 10:09:53 -07:00
parent 3625d595ad
commit d59834d6ce
6 changed files with 63 additions and 5 deletions

View File

@@ -70,13 +70,38 @@ namespace BodyshopPartner.ViewModels
{
_removeMonitoringPathCommand = new RelayCommand(
p => true,
p => RemoveFolderMonitoringPath(p as Models.Monitor)
p =>
{
RemoveFolderMonitoringPath(p as Models.Monitor);
}
);
}
return _removeMonitoringPathCommand;
}
}
private ICommand _removeAllMonitoringPathCommand;
public ICommand RemoveAllMonitoringPathCommand
{
get
{
if (_removeAllMonitoringPathCommand == null)
{
_removeAllMonitoringPathCommand = new RelayCommand(
p => true,
p =>
{
RemoveAllFolderMonitors();
}
);
}
return _removeAllMonitoringPathCommand;
}
}
private ICommand _startFolderMonitorsCommand;
public ICommand StartFolderMonitorsCommand
{