Click or drag to resize

TypeConverterConvertToEnumerableT Method (IEnumerable, CultureInfo)

Returns an iterator over the results of converting the given values to the given type. The conversion is configurable further more before iteration.

Namespace:  TB.ComponentModel
Assembly:  UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax
C#
public EnumerableConversion<T> ConvertToEnumerable<T>(
	IEnumerable values,
	CultureInfo culture = null
)

Parameters

values
Type: System.CollectionsIEnumerable
The list of values which are converted.
culture (Optional)
Type: System.GlobalizationCultureInfo
The culture to use. If not given or null, the DefaultCulture is used.

Type Parameters

T
The type to which the given values are converted.

Return Value

Type: EnumerableConversionT
List of converted values.
See Also