System.Xml.Xsl.Runtime.XmlSortKeyAccumulator.AppendSortKey C# (CSharp) Method

AppendSortKey() private method

Append new sort key to the current run of sort keys.
private AppendSortKey ( XmlSortKey key ) : void
key XmlSortKey
return void
        private void AppendSortKey(XmlSortKey key)
        {
            // Ensure that sort will be stable by setting index of key
            key.Priority = _pos;

            if (_keys[_pos] == null)
                _keys[_pos] = key;
            else
                _keys[_pos].AddSortKey(key);
        }