Ejemplo n.º 1
0
        public static CheckResult Check(EnumCheckType checkType, string checkValue)
        {
            var hander = CheckKeywordsFactory.CreateHandler(checkType);

            return(hander.Check(checkValue));
        }
Ejemplo n.º 2
0
 public static CheckKeywordsHandler CreateHandler(EnumCheckType type) => type switch
 {
Ejemplo n.º 3
0
        public static CheckResult Check(EnumCheckType checkType, string checkValue, List <string> LanguageNames)
        {
            var hander = CheckKeywordsFactory.CreateHandler(checkType);

            return(hander.Check(checkValue, LanguageNames));
        }