FakeLogCollector Constructors
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.
Overloads
FakeLogCollector() |
Initializes a new instance of the FakeLogCollector class. |
FakeLogCollector(IOptions<FakeLogCollectorOptions>) |
Initializes a new instance of the FakeLogCollector class. |
FakeLogCollector()
- Source:
- FakeLogCollector.cs
- Source:
- FakeLogCollector.cs
- Source:
- FakeLogCollector.cs
Initializes a new instance of the FakeLogCollector class.
public:
FakeLogCollector();
public FakeLogCollector ();
Public Sub New ()
Applies to
FakeLogCollector(IOptions<FakeLogCollectorOptions>)
- Source:
- FakeLogCollector.cs
- Source:
- FakeLogCollector.cs
- Source:
- FakeLogCollector.cs
Initializes a new instance of the FakeLogCollector class.
public:
FakeLogCollector(Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Logging::Testing::FakeLogCollectorOptions ^> ^ options);
public FakeLogCollector (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Logging.Testing.FakeLogCollectorOptions> options);
new Microsoft.Extensions.Logging.Testing.FakeLogCollector : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Logging.Testing.FakeLogCollectorOptions> -> Microsoft.Extensions.Logging.Testing.FakeLogCollector
Public Sub New (options As IOptions(Of FakeLogCollectorOptions))
Parameters
- options
- IOptions<FakeLogCollectorOptions>
The options to control which log records to retain.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.