Summary
A base class with AutoFake wired in for DryIoc
- Assembly
- Rocket
.Surgery .Extensions .Testing .FakeItEasy .dll - Namespace
- Rocket
.Surgery .Extensions .Testing - Interfaces
-
- IDisposable
- Base Types
-
- Object
- LoggerTest
graph BT
Type-->Base0["LoggerTest"]
click Base0 "/api/Rocket.Surgery.Extensions.Testing/LoggerTest"
Base0-->Base1["Object"]
Type-.->Interface0["IDisposable"]
Type["AutoFakeTest"]
class Type type-node
Syntax
public abstract class AutoFakeTest : LoggerTest, IDisposable
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
AutoFakeTest |
The default constructor with available logging level |
AutoFakeTest |
The default constructor with available logging level |
AutoFakeTest |
The default constructor with available logging level |
Fields
Name | Constant Value | Summary |
---|---|---|
Disposables |
The
System.Reactive.Disposables.CompositeDisposable
Inherited from LoggerTest
|
Properties
Name | Value | Summary |
---|---|---|
AutoFake | AutoFake |
The AutoFake instance
|
Configuration | IConfiguration |
The Configuration if defined otherwise empty.
|
Container | IContainer |
The DryIoc container
|
DiagnosticSource | DiagnosticSource |
The
DiagnosticSource
Inherited from LoggerTest
|
Logger | ILogger |
The
Microsoft.Extensions.Logging.ILogger
Inherited from LoggerTest
|
LoggerFactory | ILoggerFactory |
The
Microsoft.Extensions.Logging.ILoggerFactory
Inherited from LoggerTest
|
LogStream | IObservable |
The
System.IObservable`1
Inherited from LoggerTest
|
SerilogLogger | ILogger |
The
Microsoft.Extensions.Logging.ILogger
Inherited from LoggerTest
|
ServiceProvider | IServiceProvider |
The Service Provider
|
Methods
Name | Value | Summary |
---|---|---|
BuildContainer |
IContainer |
A method that allows you to override and update the behavior of building the container
|
CaptureLogs |
IDisposable |
Capture log outputs until the item is disposed
Inherited from LoggerTest
|
CaptureLogs |
IDisposable |
Capture log outputs until the item is disposed
Inherited from LoggerTest
|
CreateLoggerFactory |
ILoggerFactory |
Control the way that the serilog logger factory is created.
|
ExcludeSourceContext |
void |
Filter a given source context from serilog
Inherited from LoggerTest
|
IncludeSourceContext |
void |
Filter a given source context from serilog
Inherited from LoggerTest
|
Populate |
void |
Populate the test class with the given configuration and services
|
Populate |
void |
Populate the test class with the given configuration and services
|
Populate |
void |
Populate the test class with the given configuration and services
|
Populate |
void |
Populate the test class with the given configuration and services
|
Rebuild |
AutoFake |
Force the container to rebuild from scratch
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|