Beispiel #1
0
        public bool isA(PhraseCategoryEnum checkPhraseCategory)
        {
            var isA          = false;
            var thiscategory = category as IPhraseCategory;

            if (thiscategory != null)
            {
                isA = thiscategory.phrType == checkPhraseCategory;
            }
            return(isA);
        }
 public PhraseCategory(PhraseCategoryEnum phraseCategory)
 {
     _phraseCategory = phraseCategory;
 }