Interface IValueConverter<TSource, TDestination>
Definition
Namespace: StardewUI.Framework.Converters
Assembly: StardewUI.dll
Provides a method to convert between value types.
public interface IValueConverter<TSource, TDestination> :
StardewUI.Framework.Converters.IValueConverter
Type Parameters
TSource
The type of value to be converted.
TDestination
The converted value type.
Implements
IValueConverter
Members
Methods
Name | Description |
---|---|
Convert(TSource) | Converts a value from the source type to the destination type. |
Details
Methods
Convert(TSource)
Converts a value from the source type to the destination type.
Parameters
value
TSource
The value to convert.
Returns
TDestination
The converted value.