/// <summary> /// Faz a verificação se chave do alvo foi encontrada no arquivo de configuração. /// </summary> /// <param name="target">Elemento alvo.</param> /// <param name="keyFound">Identificador se a a chave foi encontrada.</param> private void VerifyKeyPresence(ElementTarget target, bool keyFound) { if (!keyFound && target.KeyPresenceRequirement != ConfigKeyPresence.Optional) { throw new GDA.Common.Configuration.Exceptions.MissingConfigurationKeyException(target.XmlNodePath); } }
public ListHtmlElementDataExtractor(ElementMatcher <HtmlElement> matcher = null, ElementTarget target = ElementTarget.SELF, HtmlElementDataExtractor <V> extractor = null) { Matcher = matcher; Target = target; Extractor = extractor; }