Note

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

Access to this page requires authorization. You can try .

Redactor Class

Definition

Namespace:
Microsoft.Extensions.Compliance.Redaction
Assembly:
Microsoft.Extensions.Compliance.Abstractions.dll
Package:
Microsoft.Extensions.Compliance.Abstractions v10.7.0
Source:
Redactor.cs
Source:
Redactor.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.

Enables the redaction of potentially sensitive data.

public ref class Redactor abstract
public abstract class Redactor
type Redactor = class
Public MustInherit Class Redactor
Inheritance
Redactor
Derived

Constructors

Name Description
Redactor()

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.

Redact(ReadOnlySpan<Char>, Span<Char>)

Redacts potentially sensitive data.

Redact(ReadOnlySpan<Char>)

Redacts potentially sensitive data.

Redact(String, Span<Char>)

Redacts potentially sensitive data.

Redact(String)

Redacts potentially sensitive data.

Redact<T>(T, Span<Char>, String, IFormatProvider)

Redacts potentially sensitive data.

Redact<T>(T, String, IFormatProvider)

Redacts potentially sensitive data.

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

Tries to redact potentially sensitive data.

Applies to


Feedback

Was this page helpful?