HttpCallBuilderExtFromInputToRequiredQueryT Method

From Input to query parameters that raise an error if not specified.

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 HttpCallDescription FromInputToRequiredQuery<T>(
	this HttpCallDescription source,
	string queryParameterName,
	string propertyName,
	Func<T, string> selector
)

Parameters

source

Type: HttpCallDescription

The current HttpQueryRegistration.

queryParameterName

Type: SystemString

The query parameter name.

propertyName

Type: SystemString

The property name.

selector

Type: SystemFuncT, String

The selector.

Type Parameters

T

Return Value

Type: HttpCallDescription

An updated HttpCallDescription.

Usage Note

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