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