Previously I had
Dispatcher.Invoke(new Action(() => colorManager.Update()));
to update display to WPF from another thread. Due to design, I had to alter the program, and I must pass ColorImageFrame parameter into my ColorStreamManager.Update() method.
Following this link, I modified my dispatcher to:
Dispatcher.Invoke(new Action<ColorStreamManager, ColorImageFrame>((p,v) => p.Update(v)));
It compiles fine but would not run at all. VS2010 says "Parameter count mismatch." In my ColorStreamManager.Update() method I have
RaisePropertyChanged(() => Bitmap);
Could someone point out where did I go wrong?
The signature of ColorStreamManager.Update() method is the following:
 public void Update(ColorImageFrame frame);
 
     
    