BatchGuy.App.X264.Services.X264ValidationService.AllAviSynthFilesHaveEncodeName C# (CSharp) Метод

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

private AllAviSynthFilesHaveEncodeName ( ) : bool
Результат bool
        private bool AllAviSynthFilesHaveEncodeName()
        {
            if (_x264Files.Where(f => f.EncodeName == null || f.EncodeName == string.Empty).Count() > 0)
            {
                this._errors.Add(new Error() { Description = "All AviSynth files must have a encode name" });
                return false;
            }
            return true;
        }