Click or drag to resize

AssemblyFacilityOverrideCacheTryGetOverride Method (Type, Int32)

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

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

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

Parameters

type
Type: SystemType
The type that is part of the assembly to get a facility identifier override for.
identifier
Type: SystemInt32
When this method returns, contains the identifier for the assembly, if found. Otherwise the value is 0. This parameter is passed uninitialized.

Return Value

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