Click or drag to resize

AssemblyFacilityOverrideCacheExtensionsFromConfigurationSection Method

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

Loads a list of facility identifier overrides 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 AssemblyFacilityOverrideCache overrideCache,
	IConfiguration configuration
)
View Source

Parameters

overrideCache
Type: NerdyDuck.CodedExceptions.ConfigurationAssemblyFacilityOverrideCache
The cache to add the overrides to.
configuration
Type: IConfiguration
A IConfiguration containing overrides.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AssemblyFacilityOverrideCache. 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 identifier overrides.
See Also