public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value is ReaderFilterConfig)
            {
                ReaderFilterConfig config = value as ReaderFilterConfig;
                return(new Rect(new Point(config.X0, config.Y0), new Point(config.X1, config.Y1)));
            }

            return(value);
        }
Example #2
0
 public ConfigurationService()
 {
     WriterQosConfig    = new WriterQosConfig();
     ReaderQosConfig    = new ReaderQosConfig();
     ReaderFilterConfig = new ReaderFilterConfig();
 }