Table of Contents

AddSavvyIO Method

Definition

Namespace
Savvyio.Extensions.DependencyInjection
Assemblies
Savvyio.Extensions.DependencyInjection.dll
Source
src/Savvyio.Extensions.DependencyInjection/ServiceCollectionExtensions.cs

AddSavvyIO(IServiceCollection, Action<SavvyioDependencyInjectionOptions>)

Adds Savvy I/O related dispatcher- and handler- types to the specified IServiceCollection.

public static IServiceCollection AddSavvyIO(this IServiceCollection services, Action<SavvyioDependencyInjectionOptions> setup = null)

Parameters

services IServiceCollection

The IServiceCollection to extend.

setup Action<SavvyioDependencyInjectionOptions>

The SavvyioDependencyInjectionOptions which may be configured.

Returns

IServiceCollection

A reference to services so that additional calls can be chained.

Exceptions

ArgumentNullException

services cannot be null.