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

Shift() public method

public Shift ( int offset ) : void
offset int
return void
        public override void Shift(int offset) {
            _start += offset;
            _end += offset;

            NameToken.Shift(offset);

            if (Attributes != null) {
                int count = Attributes.Count;
                for (int i = 0; i < count; i++) {
                    Attributes[i].Shift(offset);
                }
            }
        }