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

14 lines
318 B
C#
Raw Normal View History

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