Share via


NullRedactor Class

Definition

Redactor that does nothing to its input and returns it as-is.

public ref class NullRedactor sealed : Microsoft::Extensions::Compliance::Redaction::Redactor
public sealed class NullRedactor : Microsoft.Extensions.Compliance.Redaction.Redactor
type NullRedactor = class
    inherit Redactor
Public NotInheritable Class NullRedactor
Inherits Redactor
Inheritance
NullRedactor

Constructors

NullRedactor()

Properties

Instance

Gets the singleton instance of this class.

Methods

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>, Span<Char>)

Redacts potentially sensitive data.

Redact(ReadOnlySpan<Char>)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact(String, Span<Char>)

Redacts potentially sensitive data.

(Inherited from Redactor)
Redact(String)

Redacts potentially sensitive data.

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