Example #1
0
 public bool Equals(VersionData versionData) =>
 RepositoryName.Equals(versionData.RepositoryName) &&
 BranchName.Equals(versionData.BranchName) &&
 ParentBranchName.Equals(versionData.BranchName) &&
 NewBranch.Equals(versionData.NewBranch) &&
 DeltaContent.Equals(versionData.DeltaContent) &&
 FileHierarchy.All(versionData.FileHierarchy.Contains) &&
 FileHierarchy.Count.Equals(versionData.FileHierarchy.Count) &&
 EventId.Equals(versionData.EventId);
 public override bool Equals(IBuildTreeNode other)
 {
     return(base.Equals(other) && BranchName.Equals((other as BranchGroupNode)?.BranchName, StringComparison.InvariantCulture));
 }