/// <summary> /// Same as <code>NewBitmapCacheGetToBitmapCacheSequence</code> but /// with an extra DecodeProducer. /// </summary> /// <param name="inputProducer"> /// Producer providing the input to the decode. /// </param> /// <returns> /// Bitmap cache get to decode sequence. /// </returns> private IProducer <CloseableReference <CloseableImage> > NewBitmapCacheGetToDecodeSequence( IProducer <EncodedImage> inputProducer) { DecodeProducer decodeProducer = _producerFactory.NewDecodeProducer(inputProducer); return(NewBitmapCacheGetToBitmapCacheSequence(decodeProducer)); }