Class Comparison
- Namespace
- Dynamicweb.Deployment
- Assembly
- Dynamicweb.Deployment.dll
Represents a comparison of two data items.
public class Comparison
- Inheritance
-
Comparison
- Inherited Members
Properties
Id
Gets the identifier.
public string Id { get; }
Property Value
- string
- The identifier.
Left
Gets the left.
public DataItemInfo Left { get; }
Property Value
- DataItemInfo
- The left.
Right
Gets the right.
public DataItemInfo Right { get; }
Property Value
- DataItemInfo
- The right.
Status
Gets the status.
public ComparisonStatus Status { get; }
Property Value
- ComparisonStatus
- The status.
Methods
Compare(IDictionary<string, DataItemInfo>, IDictionary<string, DataItemInfo>)
Compares two collections of data items with matching identifiers.
public static IEnumerable<Comparison> Compare(IDictionary<string, DataItemInfo> left, IDictionary<string, DataItemInfo> right)
Parameters
left
IDictionary<string, DataItemInfo>- The left data items.
right
IDictionary<string, DataItemInfo>- The right data items.