public void Init()
 {
     _renamer     = new RenamerComponent();
     _sourceItems = new List <string>()
     {
         "[ololo-subs] oh my goddes [720p] - 01.avi",
         "[ololo-subs] oh my goddes [720p] - 02.avi",
         "[ololo-subs] oh my goddes [720p] - 03.avi",
     };
 }
示例#2
0
 public MainContext(
     MainViewModel viewModel,
     FilterComponent filter,
     RenamerComponent renamer,
     DirectorySearchComponent directorySearch,
     FileRenameComponent fileRename,
     DirectoryAutocompleteComponent autocomplete)
 {
     ViewModel        = viewModel;
     _filter          = filter;
     _renamer         = renamer;
     _directorySearch = directorySearch;
     _fileRename      = fileRename;
     _autocomplete    = autocomplete;
 }