TagTool.Analysis.TagLayoutGuess.Merge C# (CSharp) 메소드

Merge() 공개 메소드

Merges another layout into this one.
public Merge ( TagLayoutGuess otherLayout ) : void
otherLayout TagLayoutGuess The layout to merge with.
리턴 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);
        }