/// <summary> /// Performs the visiting logic against an <see cref="XNode"/> representing /// an input to the job. /// </summary> /// <param name="xml">The <see cref="XNode"/> representing an input to a /// job.</param> public override void VisitInput(XNode xml) { if (IsInputValid(xml)) { DecoratedVisitor.VisitInput(xml); } else { _throwIfNecessary(xml); } }
/// <summary> /// Performs the visiting logic against an <see cref="XNode"/> representing /// an <see cref="AlgorithmDefinition"/>. /// </summary> /// <param name="xml">The <see cref="XNode"/> containing the algorithm /// information.</param> public override void VisitAlgorithm(XNode xml) { if (IsAlgorithmValid(xml)) { DecoratedVisitor.VisitAlgorithm(xml); } else { _throwIfNecessary(xml); } }