ImageProviderExtensions.Then<TImageConsumer> Method

Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.

Namespace: Lumia.Imaging
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version:


public static TImageConsumer Then<TImageConsumer>(
    this IImageProvider provider,
    TImageConsumer consumer
where TImageConsumer : IImageConsumer
Public Shared Function Then(Of TImageConsumer As IImageConsumer) ( 
    provider As IImageProvider,
    consumer As TImageConsumer
) As TImageConsumer
generic<typename TImageConsumer>
where TImageConsumer : IImageConsumer
static TImageConsumer Then(
    IImageProvider^ provider, 
    TImageConsumer consumer
JavaScript does not support generic types or methods.


  • consumer
    Type: TImageConsumer
    The image consumer.

Type Parameters

  • TImageConsumer
    The extended image consumer.

Return Value

Type: TImageConsumer
The consumer that was passed in.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IImageProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Version Information

Lumia Imaging SDK

Supported in: 3.0, 2.0

See Also

ImageProviderExtensions Class

ImageProviderExtensions.ImageProviderExtensions Members

Lumia.Imaging Namespace