HandlebarsServiceCollectionExtensions

Namespace: Proffer.Templating

Microsoft.Extensions.DependencyInjection.IServiceCollection extension methods.

public static class HandlebarsServiceCollectionExtensions

Inheritance ObjectHandlebarsServiceCollectionExtensions

Methods

AddHandlebars(IServiceCollection)

Registers the Proffer.Templating services to use N:HandlebarsDotNet.

public static IServiceCollection AddHandlebars(IServiceCollection services)

Parameters

services IServiceCollection
The service collection.

Returns

IServiceCollection
The service collection.