Table of Contents

Class FxRegistration

Namespace
Integrations.Infrastructure.Fx
Assembly
Integrations.Infrastructure.dll

Registers the exchange-rate provider.

public static class FxRegistration
Inheritance
FxRegistration
Inherited Members

Methods

AddFxProvider(IServiceCollection, IConfiguration, IHostEnvironment)

Adds the provider named by Fx:Provider (Bank of Canada or Simulated).

public static IServiceCollection AddFxProvider(this IServiceCollection services, IConfiguration configuration, IHostEnvironment environment)

Parameters

services IServiceCollection
configuration IConfiguration
environment IHostEnvironment

Returns

IServiceCollection