Ejemplo n.º 1
0
        public Timelines(System.Collections.IList atElements)
        {
            foreach (At at in atElements)
            {
                if (at.Time > this.endTime)
                {
                    this.endTime = at.Time;
                }

                System.Collections.IDictionaryEnumerator paramsIter =
                    at.Parameters.GetEnumerator();
                while (paramsIter.MoveNext())
                {
                    Timeline timeline = (Timeline)this.timelines[paramsIter.Key];
                    if (timeline == null)
                    {
                        timeline = this.createTimeline(paramsIter.Key);
                    }
                    timeline.Add((TimelineElement)paramsIter.Value);
                }
            }
        }