Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ErasingRedactor Class

Definition

Namespace:
Microsoft.Extensions.Compliance.Redaction
Assembly:
Microsoft.Extensions.Compliance.Redaction.dll
Package:
Microsoft.Extensions.Compliance.Redaction v10.7.0
Source:
ErasingRedactor.cs
Source:
ErasingRedactor.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Redactor that replaces anything with an empty string.

public ref class ErasingRedactor sealed : Microsoft::Extensions::Compliance::Redaction::Redactor
public sealed class ErasingRedactor : Microsoft.Extensions.Compliance.Redaction.Redactor
type ErasingRedactor = class
 inherit Redactor
Public NotInheritable Class ErasingRedactor
Inherits Redactor
Inheritance
ErasingRedactor

Constructors

Name Description
ErasingRedactor()

Properties

Name Description
Instance

Gets the singleton instance of ErasingRedactor.

Methods

Name Description
GetRedactedLength(ReadOnlySpan<Char>)

Gets the number of characters produced by redacting the input.

GetRedactedLength(String)

Gets the number of characters produced by redacting the input.

(Inherited from Redactor)
Redact(ReadOnlySpan<Char>, Span<Char>)

Redacts potentially sensitive data.

Redact(ReadOnlySpan<Char>)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact(String, Span<Char>)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact(String)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact<T>(T, Span<Char>, String, IFormatProvider)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact<T>(T, String, IFormatProvider)

Redacts potentially sensitive data.

(Inherited from Redactor)
TryRedact<T>(T, Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to redact potentially sensitive data.

(Inherited from Redactor)

Applies to


Feedback

Was this page helpful?