示例#1
0
 public bool HasAdjective(Adjective adjective)
 {
     return(this.Adjectives.Contains(adjective));
 }
示例#2
0
 public static bool IsAdjective(string adjective)
 {
     return(Adjectives.Any(a => a.Word == adjective.ToLower() ||
                           Adjective.IsOwnership(adjective)));
 }
示例#3
0
 public void AddAdjective(Adjective adjective)
 {
     this.Adjectives.Add(adjective);
 }