HttpCallBuilderExtEnumerateSingleResponseAsT, TS Method
Enumerates a single value from a response.
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 EnumerateSingleResponseAs<T, TS>( this HttpQueryRegistration source, Func<TS, T> func ) where T : new()
Parameters
source
Type: HttpQueryRegistration
The current HttpQueryRegistration.
func
Type: SystemFuncTS, T
Type Parameters
T
TS
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