C# Class OnlineVideos.MediaPortal2.LanguageCodeLocalizedConverter

Inheritance: IValueConverter
显示文件 Open project: offbyoneBB/mp-onlinevideos2 Class Usage Examples

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture, object &result ) : bool
ConvertBack ( object val, Type targetType, object parameter, CultureInfo culture, object &result ) : bool
GetLanguageInUserLocale ( string aLang ) : string

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, CultureInfo culture, object &result ) : bool
value object
targetType System.Type
parameter object
culture CultureInfo
result object
return bool

ConvertBack() public method

public ConvertBack ( object val, Type targetType, object parameter, CultureInfo culture, object &result ) : bool
val object
targetType System.Type
parameter object
culture CultureInfo
result object
return bool

GetLanguageInUserLocale() public static method

public static GetLanguageInUserLocale ( string aLang ) : string
aLang string
return string