Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComparisonResult"/> class.
 /// </summary>
 /// <param name="comparisonState">State of comparison.</param>
 /// <param name="differences">A collection of differences.</param>
 public ComparisonResult(ComparisonState comparisonState, IEnumerable<DataDifference> differences)
 {
     ComparisonState = comparisonState;
     if (differences != null)
     {
         Differences = differences.ToList();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ComparisonResult"/> class.
 /// </summary>
 /// <param name="comparisonState">State of comparison.</param>
 public ComparisonResult(ComparisonState comparisonState)
     : this(comparisonState, null)
 {
 }