示例#1
0
 ///<summary>
 /// Constructor.
 ///</summary>
 public XmlDiff(XmlInput control, XmlInput test,
                DiffConfiguration diffConfiguration)
 {
     _diffConfiguration = diffConfiguration;
     _controlReader     = CreateXmlReader(control);
     if (control.Equals(test))
     {
         _testReader = _controlReader;
     }
     else
     {
         _testReader = CreateXmlReader(test);
     }
 }
示例#2
0
		///<summary>
		/// Constructor.
		///</summary>
		public XmlDiff(XmlInput control, XmlInput test,
					   DiffConfiguration diffConfiguration)
		{
			_diffConfiguration = diffConfiguration;
			_controlReader = CreateXmlReader(control);
			if (control.Equals(test))
			{
				_testReader = _controlReader;
			}
			else
			{
				_testReader = CreateXmlReader(test);
			}
		}