ErasingRedactor 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将任何内容替换为空字符串的重函数。
public ref class ErasingRedactor sealed : Microsoft::Extensions::Compliance::Redaction::Redactor
public sealed class ErasingRedactor : Microsoft.Extensions.Compliance.Redaction.Redactor
type ErasingRedactor = class
inherit Redactor
Public NotInheritable Class ErasingRedactor
Inherits Redactor
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| ErasingRedactor() |
将任何内容替换为空字符串的重函数。 |
属性
| 名称 | 说明 |
|---|---|
| Instance |
获取 . 的 ErasingRedactor单个实例。 |
方法
| 名称 | 说明 |
|---|---|
| GetRedactedLength(ReadOnlySpan<Char>) |
获取通过编辑输入生成的字符数。 |
| GetRedactedLength(String) |
获取通过编辑输入生成的字符数。 (继承自 Redactor) |
| Redact(ReadOnlySpan<Char>, Span<Char>) |
对潜在的敏感数据进行修订。 |
| Redact(ReadOnlySpan<Char>) |
对潜在的敏感数据进行修订。 (继承自 Redactor) |
| Redact(String, Span<Char>) |
对潜在的敏感数据进行修订。 (继承自 Redactor) |
| Redact(String) |
对潜在的敏感数据进行修订。 (继承自 Redactor) |
| Redact<T>(T, Span<Char>, String, IFormatProvider) |
对潜在的敏感数据进行修订。 (继承自 Redactor) |
| Redact<T>(T, String, IFormatProvider) |
对潜在的敏感数据进行修订。 (继承自 Redactor) |
| TryRedact<T>(T, Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) |
尝试对潜在的敏感数据进行修订。 (继承自 Redactor) |