Click or drag to resize
INamedItemFactoryTInstanceType, TDefinitionType Interface
Represents a factory of named items (such as targets, layouts, layout renderers, etc.).

Namespace: NLog.Config
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public interface INamedItemFactory<TInstanceType, TDefinitionType>
where TInstanceType : class

Type Parameters

TInstanceType
Base type for each item instance.
TDefinitionType
Item definition type (typically Type or MethodInfo).

The INamedItemFactoryTInstanceType, TDefinitionType type exposes the following members.

Methods
  NameDescription
Public methodCreateInstance
Creates item instance.
Public methodRegisterDefinition
Registers new item definition.
Public methodTryCreateInstance
Tries to create an item instance.
Public methodTryGetDefinition
Tries to get registered item definition.
Top
See Also