ServiceRepository Class |
Namespace: NLog.Config
The ServiceRepository type exposes the following members.
Name | Description | |
---|---|---|
GetService |
Gets the service object of the specified type.
| |
RegisterService |
Registers instance of singleton object for use in NLog
|
Name | Description | |
---|---|---|
SetupNLogServiceLocator |
Override the default IServiceProvider used by the NLog ServiceLocator.
NLog ServiceLocator uses the IServiceProvider to access context specific services (Ex. IHttpContextAccessor)
(Defined by AspNetExtensions.) |