string GetPattern(string alias, FilterType filterType, DeclensionCase declensionCase) { string pattern = alias; if (filterType != FilterType.None) { pattern += $"|{filterType.GetDecription()}"; } if (declensionCase != DeclensionCase.NotDefind) { pattern += $"|{declensionCase.GetDecription()}"; } return(pattern); }