Click or drag to resize

AssemblyFacilityOverrideCacheAdd Method (AssemblyIdentity, Int32)

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

Adds the specified assembly identity and facility override 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,
	int identifier
)
View Source

Parameters

assembly
Type: NerdyDuck.CodedExceptions.ConfigurationAssemblyIdentity
The AssemblyIdentity to add an identifier override for.
identifier
Type: SystemInt32
The new facility identifier 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 override.
See Also