示例#1
0
        public ConvertViewModel(IConvertService convertService)
        {
            if(convertService == null)
                throw new ArgumentNullException("convertService");

            this.convertService = convertService;
            convertCommand = new DelegateCommand<object[]>(x => convertService.ConvertCommand.Execute(x[1]));

            processedFiles = convertService.RetrieveProcessedFiles();
        }