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
Syntaxpublic bool TryGetOverride(
Type type,
out int identifier
)
Public Function TryGetOverride (
type As Type,
<OutAttribute> ByRef identifier As Integer
) As Boolean
View SourceParameters
- 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
RemarksSee
Match(Assembly) for the algorithm to find the best match for the assembly.
See Also