Click or drag to resize

AssemblyFacilityOverrideCacheTryGetOverride Method (Assembly, Int32)

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

Attempts to find the facility identifier override with the best match for the specified assembly.

Namespace:  NerdyDuck.CodedExceptions.Configuration
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public bool TryGetOverride(
	Assembly assembly,
	out int identifier
)
View Source

Parameters

assembly
Type: System.ReflectionAssembly
The assembly to get a facility identifier override for.
identifier
Type: SystemInt32
When this method returns, contains the identifier for the specified assembly, if found. Otherwise the value is 0. This parameter is passed uninitialized.

Return Value

Type: Boolean
, if a match for the specified assembly was found; otherwise, .
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe current object is already disposed.
ArgumentNullExceptionassembly is .
Remarks
See Match(Assembly) for the algorithm to find the best match for the assembly.
See Also