MustacheServiceCollectionExtensions

Namespace: Proffer.Templating

Microsoft.Extensions.DependencyInjection.IServiceCollection extension methods.

public static class MustacheServiceCollectionExtensions

Inheritance ObjectMustacheServiceCollectionExtensions

Methods

AddMustache(IServiceCollection)

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

public static IServiceCollection AddMustache(IServiceCollection services)

Parameters

services IServiceCollection
The service collection.

Returns

IServiceCollection
The service collection.