C# Class KNFoundation.KNBundleGlobalHelpers

Datei anzeigen Open project: bt-browser/KNFoundation

Public Methods

Method Description
AttemptToLocalizeComponent ( DependencyObject obj ) : void
ImageInDirectoryNamed ( string directoryName, string imageName ) : BitmapImage
ImageNamed ( string imageName ) : BitmapImage
KNLocalizedString ( string key, string comment ) : string
KNLocalizedStringFromTable ( string key, string tableName, string comment ) : string
KNLocalizedStringFromTableInBundle ( string key, string tableName, KNBundle bundle, string comment ) : string
KNLocalizedStringWithDefaultValue ( string key, string tableName, KNBundle bundle, string value, string comment ) : string

Method Details

AttemptToLocalizeComponent() public static method

public static AttemptToLocalizeComponent ( DependencyObject obj ) : void
obj System.Windows.DependencyObject
return void

ImageInDirectoryNamed() public static method

public static ImageInDirectoryNamed ( string directoryName, string imageName ) : BitmapImage
directoryName string
imageName string
return System.Windows.Media.Imaging.BitmapImage

ImageNamed() public static method

public static ImageNamed ( string imageName ) : BitmapImage
imageName string
return System.Windows.Media.Imaging.BitmapImage

KNLocalizedString() public static method

public static KNLocalizedString ( string key, string comment ) : string
key string
comment string
return string

KNLocalizedStringFromTable() public static method

public static KNLocalizedStringFromTable ( string key, string tableName, string comment ) : string
key string
tableName string
comment string
return string

KNLocalizedStringFromTableInBundle() public static method

public static KNLocalizedStringFromTableInBundle ( string key, string tableName, KNBundle bundle, string comment ) : string
key string
tableName string
bundle KNBundle
comment string
return string

KNLocalizedStringWithDefaultValue() public static method

public static KNLocalizedStringWithDefaultValue ( string key, string tableName, KNBundle bundle, string value, string comment ) : string
key string
tableName string
bundle KNBundle
value string
comment string
return string