FakeRedactor Class
Definition
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 designed for use in tests.
public ref class FakeRedactor : Microsoft::Extensions::Compliance::Redaction::Redactor
public class FakeRedactor : Microsoft.Extensions.Compliance.Redaction.Redactor
type FakeRedactor = class
inherit Redactor
Public Class FakeRedactor
Inherits Redactor
- Inheritance
Constructors
FakeRedactor(IOptions<FakeRedactorOptions>, FakeRedactionCollector) |
Initializes a new instance of the FakeRedactor class. |
Properties
EventCollector |
Gets the collector of redaction events. |
Methods
Create(FakeRedactorOptions, FakeRedactionCollector) |
Initializes a new instance of the FakeRedactor class. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
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) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Redact(ReadOnlySpan<Char>) |
Redacts potentially sensitive data. (Inherited from Redactor) |
Redact(ReadOnlySpan<Char>, Span<Char>) |
Redacts potentially sensitive data. |
Redact(String) |
Redacts potentially sensitive data. (Inherited from Redactor) |
Redact(String, Span<Char>) |
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) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
TryRedact<T>(T, Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
Tries to redact potentially sensitive data. (Inherited from Redactor) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor