Share via


FakeRedactor.Redact(ReadOnlySpan<Char>, Span<Char>) Method

Definition

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