FakeRedactor Constructor
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.
Initializes a new instance of the FakeRedactor class.
public FakeRedactor (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions>? options = default, Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector? collector = default);
new Microsoft.Extensions.Compliance.Testing.FakeRedactor : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions> * Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector -> Microsoft.Extensions.Compliance.Testing.FakeRedactor
Public Sub New (Optional options As IOptions(Of FakeRedactorOptions) = Nothing, Optional collector As FakeRedactionCollector = Nothing)
Parameters
- options
- IOptions<FakeRedactorOptions>
The options to control the redactor's behavior.
- collector
- FakeRedactionCollector
Collects info about redacted values.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.