Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 04-01-2005, 08:46 AM   #1 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 13
Default C# Serializing Interfaces

Ok ... I have created a class that load classes from other DLL's Dynamically. When I load, and create a new instance of the class inside the DLL I place this instance in an interface class (IDevice). This interface class is then stored in an arrayList.

Now when i try to Seriaize the class with the arrayList it gives me an error telling me that it cant do the serializing since the class does not have the xml attribute to include the class inside the DLL!!

Now since I load this class from the DLL dynamically, I can make the declaration inside my aplication class.

I also tried to use Abstract classes, but it gives me the same error!!

can anyne help?
Sim085 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:49 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0