Click or drag to resize

ObjectToAttributeConverterTInternalConvert Method (Object, Type, FuncT, String)

Does the conversion.

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax
protected static string InternalConvert(
	Object? value,
	Type? enumType,
	Func<T, string?> selector
)

Parameters

value
Type: SystemObject
The value.
enumType
Type: SystemType
An optional type of an enum to support converting Enum where the value is given as a number or string.
selector
Type: SystemFuncT, String
The selector to get the desired value from the attribute.

Return Value

Type: String
The converted value.
See Also