×

Then(TImageConsumer) Method

Enables a fluid way of chaining multiple IImageProviders and IImageConsumers.

Namespace: Nokia.Graphics.ImagingAssembly: Nokia.Graphics.Imaging.Managed (in Nokia.Graphics.Imaging.Managed.dll) Version: 1.2.151.0 (1.2.151.0)

Syntax

C#
public static TImageConsumer Then<TImageConsumer>(
	this IImageProvider provider,
	TImageConsumer consumer
)
where TImageConsumer : IImageConsumer
Visual Basic
<ExtensionAttribute> 
Public Shared Function Then(Of TImageConsumer As IImageConsumer) ( 
	provider As IImageProvider,
	consumer As TImageConsumer
) As TImageConsumer
Visual C++
public:
[ExtensionAttribute]
generic<typename TImageConsumer>
where TImageConsumer : IImageConsumer 
static TImageConsumer Then(
	IImageProvider^ provider, 
	TImageConsumer consumer
)
Parameters
provider
Type: Nokia.Graphics.Imaging..::..IImageProviderThe image provider.
consumer
Type: TImageConsumerThe image consumer.

Type Parameters:

TImageConsumer
The extended image consumer.
Return ValueType: Return ValueType: TImageConsumerUsage NoteIn 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).

Last updated 19 June 2014

Back to top

×