private void OnAddLayer(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) { var id = _standardFilters.First().Descriptor.TypeId; _layers.AddLayer(LayerMixingFilterService.Instance.GetInstance(id)); }
private void OnAddLayer(object sender, ExecutedRoutedEventArgs executedRoutedEventArgs) { _layers.AddLayer(_standardFilters.FirstOrDefault()); }