Click or drag to resize

TypeConverter.ConvertToEnumerable<T> 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.Collections.IEnumerable
The list of values which are converted.
culture (Optional)
Type: System.Globalization.CultureInfo
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: EnumerableConversion<T>
List of converted values.
See Also