Click or drag to resize

AssemblyFacilityOverrideCacheExtensionsFromApplicationConfiguration Method (AssemblyFacilityOverrideCache, String)

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

Loads a list of facility identifier overrides from the specified section of the application configuration file (app.config / web.config) 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
public static void FromApplicationConfiguration(
	this AssemblyFacilityOverrideCache overrideCache,
	string sectionName
)
View Source

Parameters

overrideCache
Type: NerdyDuck.CodedExceptions.ConfigurationAssemblyFacilityOverrideCache
The cache to add the overrides to.
sectionName
Type: SystemString
The name of the section in the application configuration file.

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