Filters are used to filter content based on simple text searching algorithm. This is used for checking incoming responses against a database of known malicious terms and providing automatic rule creation based on the results.


The following tables list the members exposed by Filter.

Public Constructors

  Name Description
Public method Filter Construct a new Filter object
Top

Public Fields

  Name Description
Public field exceptions Exceptions that will not generate rules if the content does not pass the filter
Public field media Media type that this filter is appropriate for
Public field rule Rule template to create blocking rules if match is found
Public field searchFor Search string to look for in response
Top

Public Methods

  Name Description
Public method ContentPassesFilter Overloaded. Check to see if the content passes the filter
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also