Posted By: ScanIAm | Jul 9th @ 10:49 AM
page 1 of 1
Comments: 3 | Views: 484
ScanIAm
ScanIAm
On a scale of 1 to 10, people are stupid.

When working with dll's that need to know about your classes (Enterprise library, for example), I often see a pattern in the config file like this:

section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0"

Is there a name or syntax that can be used if I wanted to implement my own class that would like to interpret this?

The point:  I'm working on dynamically loading the implementation of an interface based on a user supplied dll.  Since I need to specify the dll and the class (and potentially the version) so that my application can pass those parameters into Assembly.LoadFrom, I'd like to reuse any code that might parse this string correctly.

I just can't seem to find out what it is called.

 

Any ideas?

 

DCMonkey
DCMonkey
Monkey see, monkey do, monkey will destroy you!

Assembly-qualified name?

I love those, it's a good way (it was) in ASP.NET to databind your custom controls to datasources

page 1 of 1
Comments: 3 | Views: 484
Microsoft Communities