Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Late binding to C# DLL at runtime.
Message
De
13/05/2005 15:38:22
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Late binding to C# DLL at runtime.
Divers
Thread ID:
01014053
Message ID:
01014053
Vues:
60
Hi All,

As a newbie to .Net this question may be a little strange.

The company I am working currently has asked me to develop a C# application that will run automated regression tests against their applications core components. The application’s framework component is spread over several layers of the n-tier architecture.

The problem I am having is I would like to be able to create the test harness without involving the precompiled C# components that make up the application framework. In other words, I would like to maintain a list of tests that instantiate the C# components in a late-binding fashion. I am attempting to design a system where the harness is kept separate from the components it is testing.

1. Is late-binding to a C# DLL possible at runtime?

2. Is it possible that after instantiating the namespace that I can gain access to the type library to determine what classes are there, and their In and Out data types?

If anyone has some examples or links to good articles or whitepapers, please reply.

Thanks in advance
Greg Reichert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform