File: FakePlaintextRedactor.cs | Web Access |
Project: src\test\Libraries\Microsoft.Extensions.Compliance.Redaction.Tests\Microsoft.Extensions.Compliance.Redaction.Tests.csproj (Microsoft.Extensions.Compliance.Redaction.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; namespace Microsoft.Extensions.Compliance.Redaction.Test; public class FakePlaintextRedactor : Redactor { public override int GetRedactedLength(ReadOnlySpan<char> input) => input.Length; public override int Redact(ReadOnlySpan<char> source, Span<char> destination) { source.CopyTo(destination); return source.Length; } } |