public Convert ( object value, |
||
value | object | |
targetType | ||
parameter | object | |
culture | ||
return | object |
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {
switch (value as KunosCareerObjectType?) {
case KunosCareerObjectType.Championship:
return ChampionshipIconData;
case KunosCareerObjectType.SingleEvents:
return SingleEventsIconData;
default:
return null;
}
}