Class StartUp
StartUp code to register default services provided by RazorBlade
Inheritance
System.Object
StartUp
Namespace: ToSic.Razor.StartUp
Assembly: ToSic.Razor.dll
Syntax
public static class StartUp
Methods
| Improve this Doc View SourceAddRazorBlade(IServiceCollection)
Use this in your StartUp to add the default RazorBlade services to the DependencyInjection
Declaration
public static IServiceCollection AddRazorBlade(this IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services |
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection |