TagTool.Analysis.TagLayoutGuess.Merge C# (CSharp) Method

Merge() public method

Merges another layout into this one.
public Merge ( TagLayoutGuess otherLayout ) : void
otherLayout TagLayoutGuess The layout to merge with.
return void
        public void Merge(TagLayoutGuess otherLayout)
        {
            if (otherLayout.Size != Size)
                Size = Math.Min(Size, otherLayout.Size); // hackhackhack
            foreach (var guess in otherLayout._guessesByOffset)
                Add(guess.Key, guess.Value);
        }