HttpCallBuilderExtFromInputToQueryT Method (HttpCallDescription, String, String, FuncT, String)
From input to HTTP 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 HttpCallDescription FromInputToQuery<T>( this HttpCallDescription source, string queryParameterName, string propertyName, Func<T, string> selector )
Parameters
source
Type: HttpCallDescription
The current HttpCallDescription.
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