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