public function serializeGenerator()
    {
        if($this->__converter instanceof IListConverter)
        {
            foreach($this->__converter->toGenerator($this) as $index => $row)
            {
                yield $index => $row;
            }
        }
        else
        {
            foreach($this->toArray() as $index => $row)
            {
                yield $index => $row;
            }
        }
    }