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
2022-06-05 13:44:51 -05:00

13 lines
318 B
C#

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>());
}
}