Ejemplo n.º 1
0
 /// <summary>
 /// Constructor overload that allows you to construct the filter with a customer
 /// profanity list.
 /// </summary>
 /// <param name="profanityList">List of words to add into the filter.</param>
 public ProfanityFilter(List <string> profanityList) : base(profanityList)
 {
     AllowList = new AllowList();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor that loads up the default profanity list.
 /// </summary>
 public ProfanityFilter()
 {
     AllowList = new AllowList();
 }