System.Collections.Generic.List.Add((HighlightedLine line, System.Collections.Generic.List sections))

Here are the examples of the csharp api class System.Collections.Generic.List.Add((HighlightedLine line, System.Collections.Generic.List sections)) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
private void UpdateHighlightingSections(HighlightedLine line, List<HighlightedSection> sections)
        {
            if (_inHighlightingGroup && line.DocumentLine.LineNumber == _updatedLine)
            {
                lock (_changes)
                {
                    _changes.Add((line, sections));
                }

                return;
            }

            _syncContext.Post(o => UpdateHighlightingSectionsNoCheck(line, sections), null);
        }