예제 #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);
예제 #2
0
 public bool Equals(PermissionLookup other) =>
 Message.Equals(other.Message) &&
 RequestingUser.Equals(other.RequestingUser) &&
 RepositoryName.Equals(other.RepositoryName) &&
 RequestId.Equals(other.RequestId);