Exemplo n.º 1
0
 /// <inheritdoc />
 public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(EnumEqualsConverter.CheckEnumValuesEquality(value, parameter) ? base.TrueVisibility : base.FalseVisibility);
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(!EnumEqualsConverter.CheckEnumValuesEquality(value, parameter));
 }