Exemplo n.º 1
0
 public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(AuthorizatonConverter.ConvertAuthorizationLevel((string)value));
 }
Exemplo n.º 2
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(AuthorizatonConverter.ConvertAuthorizationString((int)value));
 }