/// <summary> /// Initializes a new instance of the <see cref="pipelinePageLanguageFilterNode" /> class. /// </summary> /// <param name="evaluationSettings">The evaluation settings.</param> /// <param name="__languages">The languages.</param> /// <param name="__primLanguage">The prim language.</param> /// <param name="limitPageCount">The limit page count - it will only allow positivly evaluated pages to reach specified count.</param> public pipelinePageLanguageFilterNode(multiLanguageEvaluationTask evaluationSettings, List <basicLanguageEnum> __languages, basicLanguageEnum __primLanguage, Int32 limitPageCount) { _nodeType = pipelineNodeTypeEnum.distributor; languages = __languages; languagePrimary = __primLanguage; mLanguageEval = new multiLanguageEvaluator(); mLanguageEval.setup(languages); limitValidPageCount = limitPageCount; settings = evaluationSettings; }
/// <summary> /// Initializes a new instance of the <see cref="pipelineTokenLanguageFilterNode"/> class. /// </summary> public pipelineTokenLanguageFilterNode(multiLanguageEvaluationTask evaluationSettings, List <basicLanguageEnum> __languages, basicLanguageEnum __primLanguage) { _nodeType = pipelineNodeTypeEnum.distributor; languages = __languages; languagePrimary = __primLanguage; mLanguageEval = new multiLanguageEvaluator(); mLanguageEval.setup(languages); settings = evaluationSettings; }