Exemple #1
0
 public object Convert(object value, Type targetType,
                       object parameter, CultureInfo culture)
 {
     try
     {
         FILTERTYPE filterType = (FILTERTYPE)value;
         return((int)filterType);
     }
     catch (Exception ex)
     {
         Log.Warning(ex, ex.Message);
         return(0);
     }
 }
Exemple #2
0
 public WindowedSyncFilter()
 {
     FilterType = FILTERTYPE.LOWPASS; // Lowpass by default
 }