ServiceCollectionExtensions

Namespace: Proffer.Email

Microsoft.Extensions.DependencyInjection.IServiceCollection extension methods.

public static class ServiceCollectionExtensions

Inheritance ObjectServiceCollectionExtensions

Methods

AddSendGridEmail(IServiceCollection)

Registers the Proffer.Email services to the N:SendGrid API.

public static IServiceCollection AddSendGridEmail(IServiceCollection services)

Parameters

services IServiceCollection
The service collection.

Returns

IServiceCollection
The service collection.