IValue Converter

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
Amrutha
Posts: 21
Joined: Tue Nov 15, 2016 5:10 am

IValue Converter

Postby Amrutha » Thu Jan 12, 2017 4:35 am

Hello Team,

In the IValueConverter interface it is observed that the method definition is different as compared to the original one.

The one observed in CSHTML5 is

object Convert(object value, Type targetType, object parameter, string language);

and in the Silverlight is it :

object Convert(object value, Type targetType, object parameter, CultureInfo culture);

Will the existing interface definition in CSHTML5 be changed in any of the future releases to support CultureInfo ?

Thanks,
-A

JS-Support @Userware
Site Admin
Posts: 1071
Joined: Tue Apr 08, 2014 3:42 pm

Re: IValue Converter

Postby JS-Support @Userware » Fri Jan 13, 2017 6:14 am

Hello Amrutha,

The current signature is the one used in UWP, as documented at:
https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.data.ivalueconverter.aspx

UWP is the syntax used by the CSHTML5 projects created using the Professional Edition.

Yes, we are going to make the Silverlight version of the interface available in the projects created with the "Silverlight Migration Edition".

By the way, can you please describe which members of the CultureInfo class you need the most? This will help us prioritize the development.

Thanks.
Regards,
JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests

 

 

cron