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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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