BatchGuy.App.MKVMerge.Services.MKVMergeBatchFileWriteService.IsValid C# (CSharp) Méthode

IsValid() public méthode

public IsValid ( ) : bool
Résultat bool
        public bool IsValid()
        {
            if (!_eac3ToCommonRulesValidatorService.IsAtLeastOneDiscSelected())
            {
                _errors = _eac3ToCommonRulesValidatorService.Errors;
                return false;
            }
            if (!_eac3ToCommonRulesValidatorService.IsAtLeastOneSummarySelected())
            {
                _errors = _eac3ToCommonRulesValidatorService.Errors;
                return false;
            }
            if (!_eac3ToCommonRulesValidatorService.WhenSummarySelectedAtLeastOneStreamSelected())
            {
                _errors = _eac3ToCommonRulesValidatorService.Errors;
                return false;
            }
            if (!_eac3ToCommonRulesValidatorService.IsAllEpisodeNumbersSet())
            {
                _errors = _eac3ToCommonRulesValidatorService.Errors;
                return false;
            }
            if (!_eac3ToCommonRulesValidatorService.IsAllBluRayPathsValid())
            {
                _errors = _eac3ToCommonRulesValidatorService.Errors;
                return false;
            }
            return true;
        }