 | ServiceRepository Class |
Interface to register available configuration objects type
Inheritance HierarchySystemObject
NLog.ConfigServiceRepository
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic abstract class ServiceRepository : IServiceProvider
Public MustInherit Class ServiceRepository
Implements IServiceProvider
Dim instance As ServiceRepository
[<AbstractClassAttribute>]
type ServiceRepository =
class
interface IServiceProvider
end
The ServiceRepository type exposes the following members.
Methods
| Name | Description |
---|
 | GetService |
Gets the service object of the specified type.
|
 | RegisterService |
Registers instance of singleton object for use in NLog
|
Top
See Also