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

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

public Validate ( ) : ErrorCollection
Результат ErrorCollection
        public ErrorCollection Validate()
        {
            try
            {
                this.IsValid();
            }
            catch (Exception ex)
            {
                _log.ErrorFormat(Program.GetLogErrorFormat(), ex.Message,ex.StackTrace, MethodBase.GetCurrentMethod().Name);
                _errors.Add(new Error() { Description = "There was an error trying to validate the x264 batch file information.  Please see the error log for more details." });
            }
            return _errors;
        }