HttpCallBuilderExtFromContextToQuery Method

Maps a value from the Connector's context to a query parameter.

Namespace:  Simple.Connector.Framework.Http

Assembly: Simple.Connector.Framework (in Simple.Connector.Framework.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

public static HttpQueryRegistration FromContextToQuery(
	this HttpQueryRegistration source,
	string queryParameterName,
	string contextKey
)

Parameters

source

Type: HttpQueryRegistration

The current HttpQueryRegistration.

queryParameterName

Type: SystemString

Name of the query parameter.

contextKey

Type: SystemString

Name of the key to the value in the context.

Return Value

Type: HttpQueryRegistration

An updated HttpQueryRegistration.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpQueryRegistration. 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).

See

HttpCallBuilderExt Class

Simple.Connector.Framework.Http Namespace