Exemplo n.º 1
0
        public IIterator Clone()
        {
            var newIterator = new StreamIterator(iterator);

            newIterator.actions.AddRange(actions);

            return(newIterator);
        }
Exemplo n.º 2
0
        public IObject Copy(IStreamAction action)
        {
            var newIterator = new StreamIterator(iterator);

            newIterator.actions.AddRange(actions);
            newIterator.actions.Add(action);

            return(newIterator);
        }