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

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

        private bool X264LogFileOutputDirectoryPathNotNullWhenSaveLogToDifferentDirectory()
        {
            if (_x264FileSettings.SaveX264LogFileToDifferentDirectory && string.IsNullOrEmpty(_x264FileSettings.X264LogFileOutputDirectoryPath))
            {
                this._errors.Add(new Error() { Description = "The x264 (.log) file Output directory is required" });
                return false;
            }
            return true;
        }