IValue Converter

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
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 ?


JS-Support @Userware
Site Admin
Posts: 1120
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:

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 8 guests