Click or drag to resize

SetupExtensionsBuilderExtensionsRegisterConfigSettings Method

Setup the MEL-configuration for the ${configsetting} layoutrenderer

Namespace:  NLog.Extensions.Logging
Assembly:  NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 5.0.1+b127d73a8dd3e88e56cba56e4d025fce612bbc63
Syntax
public static ISetupExtensionsBuilder RegisterConfigSettings(
	this ISetupExtensionsBuilder setupBuilder,
	IConfiguration configuration
)

Parameters

setupBuilder
Type: NLog.ConfigISetupExtensionsBuilder
configuration
Type: IConfiguration

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).
See Also