The ExternalAssemblyReflector project is included in the Chapter 16 subdirectory.
T Y P E R E F L E C T I O N, L AT E B I N D I N G, A N D AT T R I B U T E - B A S E D P R O G R A M M I N G
Reflecting on Shared Assemblies
The Assembly.Load() method has been overloaded a number of times. One variation allows you to
specify a culture value (for localized assemblies) as well as a version number and public key token
value (for shared assemblies). Collectively speaking, the set of items identifying an assembly is
termed the
display name. The format of a display name is a comma-delimited string of name/value
pairs that begins with the friendly name of the assembly, followed by optional qualifiers (that may
appear in any order). Here is the template to follow (optional items appear in parentheses):
Do'stlaringiz bilan baham: