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