BatchGuy.App.MKVMerge.Services.MKVMergeBatchFileWriteForEncodeService.IsAllX264EpisodeNumbersSet C# (CSharp) Метод

IsAllX264EpisodeNumbersSet() приватный Метод

private IsAllX264EpisodeNumbersSet ( ) : bool
Результат bool
        private bool IsAllX264EpisodeNumbersSet()
        {
            bool isValid = true;

            foreach (X264File file in _batchGuyEAC3ToSettings.X264Files)
            {
                if (file.EpisodeNumber == null || file.EpisodeNumber == string.Empty)
                {
                    isValid = false;
                }
            }

            if (!isValid)
            {
                this._errors.Add(new Error() { Description = "Episode number not set for all AviSynth Files on the Create x264 Batch File Screen." });
            }
            return isValid;
        }