System::Collections::Generic::IEnumerable::LINQ_SelectMany метод

IEnumerable::LINQ_SelectMany(const Func<Source, SharedPtr<IEnumerable<Result>>>&) method

template<typename Result> SharedPtr<IEnumerable<Result>> System::Collections::Generic::IEnumerable<T>::LINQ_SelectMany(const Func<Source, SharedPtr<IEnumerable<Result>>> &selector)

См. также

IEnumerable::LINQ_SelectMany(const Func<T, SharedPtr<IEnumerable<ResultType>>>&) method

Проецирует каждый элемент последовательности и объединяет полученные последовательности в одну.

template<typename ResultType> SharedPtr<IEnumerable<ResultType>> System::Collections::Generic::IEnumerable<T>::LINQ_SelectMany(const Func<T, SharedPtr<IEnumerable<ResultType>>> &selector)
ПараметрОписание
ResultTypeТип значения, возвращаемого selector.
ПараметрТипОписание
selectorconst Func<T, SharedPtr<IEnumerable<ResultType>>>&Функция преобразования.

ReturnValue

Объект IEnumerable, содержащий результат вызова функции проекции один-ко-многим для каждого элемента входной последовательности.

См. также