Click or drag to resize

ConfigurationItemCreator Delegate

Note: This API is now obsolete.

Obsolete since dynamic tyope loading is not compatible with publish as trimmed application. Constructs a new instance the configuration item (target, layout, layout renderer, etc.) given its type.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
[ObsoleteAttribute("Instead use RegisterType<T>, as dynamic Assembly loading will be moved out. Marked obsolete with NLog v5.2")]
public delegate Object ConfigurationItemCreator(
	Type itemType
)

Parameters

itemType
Type: SystemType
Type of the item.

Return Value

Type: Object
Created object of the specified type.
See Also