Exemplo n.º 1
0
 public FileComparison()
 {
     _launchCommand            = new CommandClass(c => true /*CanLaunch()*/, c => Launch());
     _copyCommand              = new CommandClass(c => CanCopy(), c => Copy());
     _checkOutRightCommand     = new CommandClass(c => CanCheckOutRight(), c => CheckOutRight());
     _viewInFolderLeftCommand  = new CommandClass(c => CanCheckOutLeft(), c => ViewInFolderLeft());
     _pushRightCommand         = new CommandClass(c => true, c => PushRight());
     _viewInFolderRightCommand = new CommandClass(c => CanCheckOutRight(), c => ViewInFolderRight());
     _checkOutLeftCommand      = new CommandClass(c => CanCheckOutLeft(), c => CheckOutLeft());
     _historyLeftCommand       = new CommandClass(c => CanCheckOutLeft(), c => HistoryLeft());
     _historyRightCommand      = new CommandClass(c => CanCheckOutRight(), c => HistoryRight());
     _pushLeftCommand          = new CommandClass(c => true, c => PushLeft());
 }
Exemplo n.º 2
0
 private FolderComparison()
 {
     _folderChangesetsLeftCommand  = new CommandClass(c => true, c => FolderHistoryLeft());
     _folderChangesetsRightCommand = new CommandClass(c => true, c => FolderHistoryRight());
 }