コード例 #1
0
		public void TearDown()
		{
			contents = null;
			writer   = null;
		}
コード例 #2
0
		public void Setup()
		{
			var s = new XmlWriterSettings ();
			s.ConformanceLevel   = ConformanceLevel.Fragment;
			s.OmitXmlDeclaration = true;
			writer = new DelegatingXmlDictionaryWriter (
					XmlWriter.Create (contents = new StringBuilder (), s));
		}