Exemplo n.º 1
0
                public object Apply(object arg)
                {
                    var tuple = (EnumerateIterator.Tuple)arg;

                    if (tuple.index != wantedIndex)
                    {
                        return(Iterators.Skip);
                    }
                    return(new FixtureDecorator(provider.Variable(), tuple.value, tuple.index));
                }
Exemplo n.º 2
0
                public object Apply(object arg)
                {
                    var tuple = (EnumerateIterator.Tuple)arg;

                    return(new FixtureDecorator(provider.Variable(), tuple.value, tuple.index));
                }