AppendItems() публичный Метод

public AppendItems ( SVGTransformList, newListItem ) : void
newListItem SVGTransformList,
Результат void
Пример #1
0
 protected void UpdateSummaryTransformList()
 {
     int c = 0;
     if(_inheritTransformList != null)
       c += _inheritTransformList.Count;
     if(_currentTransformList != null)
       c += _currentTransformList.Count;
     _summaryTransformList = new SVGTransformList(c);
     if(_inheritTransformList != null)
       _summaryTransformList.AppendItems(_inheritTransformList);
     if(_currentTransformList != null)
       _summaryTransformList.AppendItems(_currentTransformList);
 }
Пример #2
0
    protected void UpdateSummaryTransformList()
    {
        int c = 0;

        if (_inheritTransformList != null)
        {
            c += _inheritTransformList.Count;
        }
        if (_currentTransformList != null)
        {
            c += _currentTransformList.Count;
        }
        _summaryTransformList = new SVGTransformList(c);
        if (_inheritTransformList != null)
        {
            _summaryTransformList.AppendItems(_inheritTransformList);
        }
        if (_currentTransformList != null)
        {
            _summaryTransformList.AppendItems(_currentTransformList);
        }
    }