Exemple #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);
     }
 }
Exemple #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);
			}
		}