Table of Contents

Class ServiceCollectionExtensions

Namespace
KASserver
Assembly
KASserver.Client.dll

Dependency-injection extensions for registering the KAS API client.

public static class ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions
Inherited Members

Methods

AddKasServer(IServiceCollection, Action<KasServerOptions>)

Registers IKasClient and its dependencies.

public static IServiceCollection AddKasServer(this IServiceCollection services, Action<KasServerOptions> configure)

Parameters

services IServiceCollection
configure Action<KasServerOptions>

Returns

IServiceCollection