Click or drag to resize

IFactoryTBaseTypeTryCreateInstance Method

Tries to create an item instance with type-alias

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
bool TryCreateInstance(
	string typeAlias,
	out TBaseType? result
)

Parameters

typeAlias
Type: SystemString
result
Type: TBaseType

Return Value

Type: Boolean
if instance was created successfully, otherwise.
See Also