Microsoft.Html.Core.Tree.Nodes.TagNode.ShiftStartingFrom C# (CSharp) Method

ShiftStartingFrom() public method

public ShiftStartingFrom ( int position, int offset ) : void
position int
offset int
return void
        public override void ShiftStartingFrom(int position, int offset) {
            if (NameToken.Start >= position) {
                Shift(offset);
            } else {
                _end += offset;

                if (Attributes != null) // Can be null in end tag
                {
                    int count = Attributes.Count;
                    for (int i = 0; i < count; i++) {
                        Attributes[i].ShiftStartingFrom(position, offset);
                    }
                }
            }
        }