private void SendBitmap(Bitmap bitmap) { foreach (var bus in BitmapBuses.Reverse <IDataBus <Bitmap> >()) { if (bus.SendData(bitmap)) { continue; } } }
public void EndCapture(Bitmap bitmap) { CaptureMode = CaptureMode.Unknown; if (bitmap == null) { return; } foreach (var bus in BitmapBuses.Reverse <IDataBus <Bitmap> >()) { if (bus.SendData(bitmap)) { return; } } }