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)); }
public object Apply(object arg) { var tuple = (EnumerateIterator.Tuple)arg; return(new FixtureDecorator(provider.Variable(), tuple.value, tuple.index)); }