コード例 #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();
 }
コード例 #2
0
 /// <summary>
 /// Default constructor that loads up the default profanity list.
 /// </summary>
 public ProfanityFilter()
 {
     AllowList = new AllowList();
 }