BatchGuy.App.BluRayTitleInfoForm.bgwEac3toLoadTitle_DoWork C# (CSharp) Method

bgwEac3toLoadTitle_DoWork() private method

private bgwEac3toLoadTitle_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e DoWorkEventArgs
return void
        private void bgwEac3toLoadTitle_DoWork(object sender, DoWorkEventArgs e)
        {
            try
            {
                IJsonSerializationService<ISOLanguageCodeCollection> jsonSerializationService = new JsonSerializationService<ISOLanguageCodeCollection>();
                IMKVMergeLanguageService languageService = new MKVMergeLanguageService(jsonSerializationService);
                ICommandLineProcessService commandLineProcessService = e.Argument as CommandLineProcessService;
                List<ProcessOutputLineItem> processOutputLineItems = commandLineProcessService.GetProcessOutputLineItems();
                ILineItemIdentifierService lineItemService = new BluRayTitleLineItemIdentifierService();
                IBluRayTitleParserService parserService = new BluRayTitleParserService(lineItemService, processOutputLineItems, languageService);
                _bluRaySummaryInfo.BluRayTitleInfo = parserService.GetTitleInfo();
            }
            catch (Exception ex)
            {
                _displayErrorMessageService.DisplayError(new ErrorMessage() { DisplayMessage = "There was a problem loading the title!", DisplayTitle = "Error.", Exception = ex, MethodNameWhereExceptionOccurred = MethodBase.GetCurrentMethod().Name });
            }
        }
BluRayTitleInfoForm