Share via


NullRedactor.Redact Method

Definition

Overloads

Redact(String)

Redacts potentially sensitive data.

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

Redacts potentially sensitive data.

Redact(String)

Source:
NullRedactor.cs
Source:
NullRedactor.cs

Redacts potentially sensitive data.

public:
 override System::String ^ Redact(System::String ^ source);
public override string Redact (string? source);
override this.Redact : string -> string
Public Overrides Function Redact (source As String) As String

Parameters

source
String

Value to redact.

Returns

Redacted value.

Applies to

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

Source:
NullRedactor.cs
Source:
NullRedactor.cs

Redacts potentially sensitive data.

public:
 override int Redact(ReadOnlySpan<char> source, Span<char> destination);
public override int Redact (ReadOnlySpan<char> source, Span<char> destination);
override this.Redact : ReadOnlySpan<char> * Span<char> -> int
Public Overrides Function Redact (source As ReadOnlySpan(Of Char), destination As Span(Of Char)) As Integer

Parameters

source
ReadOnlySpan<Char>

Value to redact.

destination
Span<Char>

Buffer to store redacted value.

Returns

Number of characters produced when redacting the given source input.

Applies to