FakeHostingExtensions.GetFakeRedactionCollector(IHost) 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.
Gets the object reporting all redactions performed.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Compliance::Testing::FakeRedactionCollector ^ GetFakeRedactionCollector(Microsoft::Extensions::Hosting::IHost ^ host);
public static Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector GetFakeRedactionCollector (this Microsoft.Extensions.Hosting.IHost host);
static member GetFakeRedactionCollector : Microsoft.Extensions.Hosting.IHost -> Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector
<Extension()>
Public Function GetFakeRedactionCollector (host As IHost) As FakeRedactionCollector
Parameters
Returns
The collector that tracks redactions performed on log messages.
Exceptions
No collector exists in the provider.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.