Rhino.Xmlimpl.XmlProcessor.ReadObject C# (CSharp) Method

ReadObject() private method

private ReadObject ( ObjectInputStream stream ) : void
stream Sharpen.ObjectInputStream
return void
		private void ReadObject(ObjectInputStream stream)
		{
			stream.DefaultReadObject();
			this.dom = DocumentBuilderFactory.NewInstance();
			this.dom.SetNamespaceAware(true);
			this.dom.SetIgnoringComments(false);
			this.xform = TransformerFactory.NewInstance();
			int poolSize = Runtime.GetRuntime().AvailableProcessors() * 2;
			this.documentBuilderPool = new LinkedBlockingDeque<DocumentBuilder>(poolSize);
		}