Table of Contents

Class IConfigExtensions

Namespace
Tenduke.Core.Config
Assembly
Tenduke.Core.dll

Extension methods for IConfig.

public static class IConfigExtensions
Inheritance
IConfigExtensions
Inherited Members

Methods

Configure(IConfig, HttpClient, string)

Configure the provided HttpClient using the configuration settings in the IConfig instance.

public static void Configure(this IConfig config, HttpClient httpClient, string userAgent)

Parameters

config IConfig

The configuration settings.

httpClient HttpClient

An HTTP client to configure.

userAgent string

The User-agent string to use for outgoing requests.