Click or drag to resize

SetupExtensionsBuilderExtensionsAutoLoadExtensions Method

Enable/disables autoloading of NLog extensions by scanning and loading available assemblies

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public static ISetupExtensionsBuilder AutoLoadExtensions(
	this ISetupExtensionsBuilder setupBuilder
)

Parameters

setupBuilder
Type: NLog.ConfigISetupExtensionsBuilder

Return Value

Type: ISetupExtensionsBuilder

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISetupExtensionsBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Disabled by default as it can give a huge performance hit during startup. Recommended to keep it disabled especially when running in the cloud.
See Also