Udostępnij za pośrednictwem


FuncConverter<TSource,TDest,TParam> Constructors

Definition

Overloads

FuncConverter<TSource,TDest,TParam>(Func<TSource,TDest>, Func<TDest,TSource>)
FuncConverter<TSource,TDest,TParam>(Func<TSource,TParam,CultureInfo,TDest>, Func<TDest,TParam,CultureInfo,TSource>)
FuncConverter<TSource,TDest,TParam>(Func<TSource,TParam,TDest>, Func<TDest,TParam,TSource>)

FuncConverter<TSource,TDest,TParam>(Func<TSource,TDest>, Func<TDest,TSource>)

public FuncConverter (Func<TSource,TDest> convert = default, Func<TDest,TSource> convertBack = default);
new Xamarin.Forms.Markup.FuncConverter<'Source, 'Dest, 'Param> : Func<'Source, 'Dest> * Func<'Dest, 'Source> -> Xamarin.Forms.Markup.FuncConverter<'Source, 'Dest, 'Param>

Parameters

convert
System.Func<TSource,TDest>
convertBack
System.Func<TDest,TSource>

Applies to

FuncConverter<TSource,TDest,TParam>(Func<TSource,TParam,CultureInfo,TDest>, Func<TDest,TParam,CultureInfo,TSource>)

public FuncConverter (Func<TSource,TParam,System.Globalization.CultureInfo,TDest> convertWithParamAndCulture = default, Func<TDest,TParam,System.Globalization.CultureInfo,TSource> convertBackWithParamAndCulture = default);
new Xamarin.Forms.Markup.FuncConverter<'Source, 'Dest, 'Param> : Func<'Source, 'Param, System.Globalization.CultureInfo, 'Dest> * Func<'Dest, 'Param, System.Globalization.CultureInfo, 'Source> -> Xamarin.Forms.Markup.FuncConverter<'Source, 'Dest, 'Param>

Parameters

convertWithParamAndCulture
System.Func<TSource,TParam,System.Globalization.CultureInfo,TDest>
convertBackWithParamAndCulture
System.Func<TDest,TParam,System.Globalization.CultureInfo,TSource>

Applies to

FuncConverter<TSource,TDest,TParam>(Func<TSource,TParam,TDest>, Func<TDest,TParam,TSource>)

public FuncConverter (Func<TSource,TParam,TDest> convertWithParam = default, Func<TDest,TParam,TSource> convertBackWithParam = default);
new Xamarin.Forms.Markup.FuncConverter<'Source, 'Dest, 'Param> : Func<'Source, 'Param, 'Dest> * Func<'Dest, 'Param, 'Source> -> Xamarin.Forms.Markup.FuncConverter<'Source, 'Dest, 'Param>

Parameters

convertWithParam
System.Func<TSource,TParam,TDest>
convertBackWithParam
System.Func<TDest,TParam,TSource>

Applies to