C# Serializing Interfaces

Status
Not open for further replies.

Sim085

Solid State Member
Messages
13
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?
 
Status
Not open for further replies.
Back
Top Bottom