Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-01-2005, 08:46 AM   #1 (permalink)
 
Newb Techie

Join Date: Aug 2004

Posts: 13

Sim085

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  
 
Closed Thread

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