Click or drag to resize

AssemblyDebugModeCacheAdd Method (AssemblyIdentity, Boolean)

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

Adds the specified assembly identity and debug mode setting to the cache.

Namespace:  NerdyDuck.CodedExceptions.Configuration
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public void Add(
	AssemblyIdentity assembly,
	bool isEnabled
)
View Source

Parameters

assembly
Type: NerdyDuck.CodedExceptions.ConfigurationAssemblyIdentity
The AssemblyIdentity to add a debug mode setting for.
isEnabled
Type: SystemBoolean
A value indicating if the debug mode is activated for the assembly.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe current object is already disposed.
ArgumentNullExceptionassembly is .
Remarks
If an override with the identical AssemblyName already exists in the cache, it is replaced with the current setting.
See Also