aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/IMLStream.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-09 03:37:43 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-09 03:39:47 +0200
commit04c3deb931dfe039bf0a8f8665f6538f09f5508a (patch)
treecf5fd1392b1c36996a46e2da82fc1c2d22688ef9 /src/IMLStream.cs
parent4d4a9116ea5c68b27f0b7c43db9682ab57738ae7 (diff)
parent91a40c76fc886501c644a702832a9b257bc154f9 (diff)
instanciator
Diffstat (limited to 'src/IMLStream.cs')
-rw-r--r--src/IMLStream.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/IMLStream.cs b/src/IMLStream.cs
index 542797a1..290c5355 100644
--- a/src/IMLStream.cs
+++ b/src/IMLStream.cs
@@ -23,6 +23,10 @@ using System.IO;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
+using System.Xml.Serialization;
+using System.Xml;
+using System.Collections.Generic;
+using System.Diagnostics;
namespace Crow
{
@@ -33,10 +37,10 @@ namespace Crow
Path = path;
using (Stream stream = Interface.GetStreamFromPath (path))
stream.CopyTo (this);
- RootType = Interface.GetTopContainerOfXMLStream (this);
+ //RootType = Interface.GetTopContainerOfXMLStream (this);
}
public IMLStream(Byte[] b) : base (b){
- RootType = Interface.GetTopContainerOfXMLStream (this);
+ //RootType = Interface.GetTopContainerOfXMLStream (this);
}
/// <summary>
/// Create a graphicObject instance from the this XML stream.
@@ -47,7 +51,7 @@ namespace Crow
Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
Seek (0, SeekOrigin.Begin);
- GraphicObject tmp = Interface.Load (this, this.RootType);
+ GraphicObject tmp = null;//Interface.Load (this, this.RootType);
Thread.CurrentThread.CurrentCulture = savedCulture;
return tmp;