2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
pulsar/Pulsar/PulsarServiceRegistry.cs

19 lines
574 B
C#

using System.Diagnostics.CodeAnalysis;
using Lamar;
using Pulsar.Features;
using Pulsar.Features.ModulesInfo;
using Pulsar.Features.Journal;
namespace Pulsar;
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
public class PulsarServiceRegistry : ServiceRegistry
{
public PulsarServiceRegistry()
{
For<IFileHandlerService>().Use<FileHandlerService>();
For<IStatusService>().Use<StatusService>();
For<IModulesInfoService>().Use<ModulesInfoService>();
For<IJournalService>().Use<JournalService>();
}
}