FakeRedactor.Create(FakeRedactorOptions, FakeRedactionCollector) Method
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 static Microsoft.Extensions.Compliance.Testing.FakeRedactor Create (Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions? options = default, Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector? collector = default);
static member Create : Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions * Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector -> Microsoft.Extensions.Compliance.Testing.FakeRedactor
Public Shared Function Create (Optional options As FakeRedactorOptions = Nothing, Optional collector As FakeRedactionCollector = Nothing) As FakeRedactor
Parameters
- options
- FakeRedactorOptions
The options to control behavior of redactor.
- collector
- FakeRedactionCollector
Collects info about redacted values.
Returns
New instance of FakeRedactor.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.