Click or drag to resize

ServiceRepository Methods

The ServiceRepository type exposes the following members.

Methods
  NameDescription
Public methodGetService
Gets the service object of the specified type.
Public methodRegisterService
Registers instance of singleton object for use in NLog
Top
Extension Methods
  NameDescription
Public Extension MethodSetupNLogServiceLocator
Override the default IServiceProvider used by the NLog ServiceLocator. NLog ServiceLocator uses the IServiceProvider to access context specific services (Ex. IHttpContextAccessor)
(Defined by AspNetExtensions.)
Top
See Also