This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/Nitride.Calendar/NitrideCalendarBuilderExtensions.cs

17 lines
402 B
C#
Raw Normal View History

2021-09-07 05:15:45 +00:00
using Autofac;
using Nitride.Temporal;
namespace Nitride.Calendar
{
public static class NitrideCalendarBuilderExtensions
{
public static NitrideBuilder UseCalendar(this NitrideBuilder builder)
{
return builder
.UseTemporal()
.ConfigureContainer(
x => x.RegisterModule<NitrideCalendarModule>());
}
}
}