![]() | RedactRule Class |
Namespace: Opait.Redact
public sealed class RedactRule
The RedactRule type exposes the following members.
Name | Description | |
---|---|---|
![]() | RedactRule(String) |
Initialize a user defined instance of the RedactRule class.
|
![]() | RedactRule(XElement) |
Initialize a new instance of the RedactRule class from the specified XML element.
|
Name | Description | |
---|---|---|
![]() | CanSave |
Gets a flag to indicate whether the rule should be saved.
|
![]() | IsValid |
Checks whether the rule is valid.
|
![]() | MaskChar |
Gets or sets a character that masks redacted text.
Default is space.
|
![]() | MaskLength |
The number of characters to redact based on the MaskType.
|
![]() | MaskType |
Gets or sets the type of character masking to perform.
|
![]() | Name |
Gets or sets the name of the redaction rule (e.g. SSN).
|
![]() | Pattern |
Gets or sets the regular expression pattern for detecting
redaction elements (e.g. SSN, email, phone, etc.)
|
![]() | RedactType |
Gets or sets the type of redaction to perform on detected patterns.
|
![]() | SearchOptions |
Gets the search options for matching the pattern
|
![]() | UserDefined |
Gets or sets a value to identify a user-defined rule
|
Name | Description | |
---|---|---|
![]() ![]() | FindRule |
Finds a predefined rule by name.
|
![]() | FromXml |
Loads the readction rule from the specified XML element.
|
![]() ![]() | GetStandardPattern |
Finds a named standard regular expression pattern.
|
![]() ![]() | GetStandardRules |
Gets a copy of the standard predefined rules.
|
![]() | ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |
![]() | ToXml |
Saves the current instance as an XML element.
|