UtilsblowUpT, U(IEnumerableT, IEnumerableIEnumerableU) Method
Blow up the items in s to each of its items maps to an enumerable in t.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static List<T> blowUp<T, U>(
IEnumerable<T> s,
IEnumerable<IEnumerable<U>> t
)
Public Shared Function blowUp(Of T, U) (
s As IEnumerable(Of T),
t As IEnumerable(Of IEnumerable(Of U))
) As List(Of T)
public:
generic<typename T, typename U>
static List<T>^ blowUp(
IEnumerable<T>^ s,
IEnumerable<IEnumerable<U>^>^ t
)
static member blowUp :
s : IEnumerable<'T> *
t : IEnumerable<IEnumerable<'U>> -> List<'T>
- s IEnumerableT
- Source List of items to use for flattening.
- t IEnumerableIEnumerableU
- Target list of lists used as the structure for flattening.
- T
- Type of the item of the list to be expanded.
- U
- Type of the list of list which to take the data structure from.
ListTFlattened and expanded list of items s. Expansion is according to the data structure of t.