Mercurial > pub > ImplabNet
diff Implab.ServiceHost/Unity/ContainerElement.cs @ 271:d4d437ec4483 v3
Working on Unity xml configuration
author | cin |
---|---|
date | Wed, 25 Apr 2018 19:23:35 +0300 |
parents | ade80d94dfb5 |
children | 79110a16cab7 |
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/ContainerElement.cs Wed Apr 25 04:44:40 2018 +0300 +++ b/Implab.ServiceHost/Unity/ContainerElement.cs Wed Apr 25 19:23:35 2018 +0300 @@ -22,7 +22,10 @@ } public void WriteXml(XmlWriter writer) { - throw new System.NotImplementedException(); + foreach(var item in Items) { + var serializer = new XmlSerializer(item.GetType()); + serializer.Serialize(writer, item); + } } } } \ No newline at end of file