D
donal.conlon
Here's what I'm trying to do:
Have an xml config file like:
<ObjCollection>
<object assembly = "myAssembly.dll,version,neutral,pkt"
typeName="MyObject" title="" description=""/>
</ObjCollection>
I want to be able to read all the objects listed in this config file,
and be able to create objects from them and set their properties from
the attributes.
someit like:
object obj =
Activator.CreateInstance(xmlNode.attributes["assembly"].value,xmlNode.attributes["typeName"].value);
obj.Title = xmlNode.attributes["title"].value;
.....
Is this at all possible?
Cheers
donal
Have an xml config file like:
<ObjCollection>
<object assembly = "myAssembly.dll,version,neutral,pkt"
typeName="MyObject" title="" description=""/>
</ObjCollection>
I want to be able to read all the objects listed in this config file,
and be able to create objects from them and set their properties from
the attributes.
someit like:
object obj =
Activator.CreateInstance(xmlNode.attributes["assembly"].value,xmlNode.attributes["typeName"].value);
obj.Title = xmlNode.attributes["title"].value;
.....
Is this at all possible?
Cheers
donal