Table of Contents

Class HttpInteractionHandlerServiceCollectionExtensions

Namespace
NetCord.Hosting
Assembly
NetCord.Hosting.dll
public static class HttpInteractionHandlerServiceCollectionExtensions
Inheritance
HttpInteractionHandlerServiceCollectionExtensions
Inherited Members

Methods

AddHttpInteractionHandler(IServiceCollection, Delegate)

public static IServiceCollection AddHttpInteractionHandler(this IServiceCollection services, Delegate handler)

Parameters

services IServiceCollection
handler Delegate

Returns

IServiceCollection

AddHttpInteractionHandler<T>(IServiceCollection)

public static IServiceCollection AddHttpInteractionHandler<T>(this IServiceCollection services) where T : class, IHttpInteractionHandler

Parameters

services IServiceCollection

Returns

IServiceCollection

Type Parameters

T

AddHttpInteractionHandler<T>(IServiceCollection, Func<IServiceProvider, T>)

public static IServiceCollection AddHttpInteractionHandler<T>(this IServiceCollection services, Func<IServiceProvider, T> implementationFactory) where T : class, IHttpInteractionHandler

Parameters

services IServiceCollection
implementationFactory Func<IServiceProvider, T>

Returns

IServiceCollection

Type Parameters

T