diff --git a/source/NetFramework/Server/MirrorSharp/MirrorSharpModule.cs b/source/NetFramework/Server/MirrorSharp/MirrorSharpModule.cs index 4392deeea..e59acfbdf 100644 --- a/source/NetFramework/Server/MirrorSharp/MirrorSharpModule.cs +++ b/source/NetFramework/Server/MirrorSharp/MirrorSharpModule.cs @@ -5,34 +5,39 @@ using MirrorSharp.Advanced; using MirrorSharp.Advanced.EarlyAccess; using SharpLab.Server.MirrorSharp.Guards; +using SharpLab.Server.Monitoring; -namespace SharpLab.Server.MirrorSharp { - [UsedImplicitly] - public class MirrorSharpModule : Module { - protected override void Load(ContainerBuilder builder) { - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As>() - .SingleInstance(); - - builder.RegisterType() - .As>() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - } +namespace SharpLab.Server.MirrorSharp; + +[UsedImplicitly] +public class MirrorSharpModule : Module { + protected override void Load(ContainerBuilder builder) { + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As>() + .SingleInstance(); + + builder.RegisterType() + .As>() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); } } \ No newline at end of file diff --git a/source/Server/MirrorSharp/MirrorSharpModule.cs b/source/Server/MirrorSharp/MirrorSharpModule.cs index e04dd86e3..7a3afe0a1 100644 --- a/source/Server/MirrorSharp/MirrorSharpModule.cs +++ b/source/Server/MirrorSharp/MirrorSharpModule.cs @@ -6,41 +6,41 @@ using MirrorSharp.Advanced.EarlyAccess; using SharpLab.Server.MirrorSharp.Guards; -namespace SharpLab.Server.MirrorSharp { - [UsedImplicitly] - public class MirrorSharpModule : Module { - protected override void Load(ContainerBuilder builder) { - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As>() - .SingleInstance(); - - builder.RegisterType() - .As>() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - - builder.RegisterType() - .As() - .SingleInstance(); - } +namespace SharpLab.Server.MirrorSharp; + +[UsedImplicitly] +public class MirrorSharpModule : Module { + protected override void Load(ContainerBuilder builder) { + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As>() + .SingleInstance(); + + builder.RegisterType() + .As>() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); + + builder.RegisterType() + .As() + .SingleInstance(); } } \ No newline at end of file