Click or drag to resize

AssemblyDebugModeCacheExtensionsFromConfigurationSection Method

[This is preliminary documentation and is subject to change.]

Loads a list of assembly debug mode settings from the specified IConfiguration, and adds them to the cache.

Namespace:  NerdyDuck.CodedExceptions.Configuration
Assembly:  NerdyDuck.CodedExceptions.Configuration (in NerdyDuck.CodedExceptions.Configuration.dll) Version: 2.0.0+2040dad
Syntax
[CLSCompliantAttribute(false)]
public static void FromConfigurationSection(
	this AssemblyDebugModeCache debugModeCache,
	IConfiguration configuration
)
View Source

Parameters

debugModeCache
Type: NerdyDuck.CodedExceptions.ConfigurationAssemblyDebugModeCache
The cache to add the settings to.
configuration
Type: IConfiguration
A IConfiguration containing debug mode settings.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AssemblyDebugModeCache. 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
The section must be keyed by the assembly names (deserializable into an AssemblyIdentity), while the values specify the whether the debug mode is enabled or not (true/false).
See Also