| ObjectToAttributeConverterTInternalConvert(Object, Type, FuncT, String, FuncT, Boolean) Method |
Does the conversion.
Namespace: TomsToolbox.Wpf.ConvertersAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax protected static string InternalConvert(
Object? value,
Type? enumType,
Func<T, string?> selector,
Func<T, bool> predicate
)
Protected Shared Function InternalConvert (
value As Object,
enumType As Type,
selector As Func(Of T, String),
predicate As Func(Of T, Boolean)
) As String
Parameters
- value Object
- The value.
- enumType Type
- An optional type of an enum to support converting Enum where the value is given as a number or string.
- selector FuncT, String
- The selector to get the desired value from the attribute.
- predicate FuncT, Boolean
- A predicate to search for a specific attribute.
Return Value
String
The converted value.
See Also