Пример #1
0
        public void RemoveRenderItem(RenderItem item)
        {
            foreach (string stage in item.GetStagesParticipated())
            {
                GetStageList(stage).Remove(item);
            }

            _distinctRenderItems.Remove(item);
        }
Пример #2
0
        public void AddRenderItem(RenderItem item)
        {
            foreach (string stage in item.GetStagesParticipated())
            {
                var list = GetStageList(stage);
                list.Add(item);
            }

            _distinctRenderItems.Add(item);
        }