RestConnectionMapperConfigureTInfo Method (ConnectionConfigurationStart`1TInfo, String, FuncTInfo, String)

Builds the connection configuration for the Connector.

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 RestConnectionMapperFluentConnection<TInfo> Configure<TInfo>(
	this ConnectionConfigurationStart<TInfo> source,
	string method,
	Func<TInfo, string> getLoginFunc
)

Parameters

source

Type: ConnectionConfigurationStartTInfo

The ConnectionConfigurationStart.

method

Type: SystemString

HTTP method used for the connection call.

getLoginFunc

Type: SystemFuncTInfo, String

A function that returns the login URL when given the connection information.

Type Parameters

TInfo

Return Value

Type: RestConnectionMapperFluentConnectionTInfo

Usage Note

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

RestConnectionMapper Class

Configure Overload

Simple.Connector.Framework.Http Namespace