BatchGuy.App.MKVMerge.Services.MKVMergeOutputService.GetMKVMergePathPart C# (CSharp) Метод

GetMKVMergePathPart() публичный Метод

public GetMKVMergePathPart ( ) : string
Результат string
        public string GetMKVMergePathPart()
        {
            return string.Format("\"{0}\"", _eac3ToConfiguration.MKVMergePath);
        }

Usage Example

 public void mkvmergeoutputservice_can_getmkvmergepathPart_Tests()
 {
     //given
     EAC3ToConfiguration config = new EAC3ToConfiguration() {  MKVMergePath = "c:\\exe\\mkvmerge.exe" };
     BluRaySummaryInfo bluRaySummaryInfo = new BluRaySummaryInfo() { Eac3ToId = "1)", BluRayTitleInfo = new BluRayTitleInfo() { EpisodeNumber = "1" } };
     IAudioService audioService = new AudioService();
     AbstractEAC3ToOutputNamingService eac3ToOutputNamingService = new RemuxTemplate1EAC3ToOutputNamingService(audioService);
     //when
     IMKVMergeOutputService mkvMergeOutputService = new MKVMergeOutputService(config, eac3ToOutputNamingService, @"c:\temp", bluRaySummaryInfo);
     var mkvmergepath = mkvMergeOutputService.GetMKVMergePathPart();
     //then
     mkvmergepath.Should().Be("\"c:\\exe\\mkvmerge.exe\"");
 }
All Usage Examples Of BatchGuy.App.MKVMerge.Services.MKVMergeOutputService::GetMKVMergePathPart