using GerstITS.Examples.Api.Configurations; using Microsoft.Extensions.DependencyInjection; namespace GerstITS.Examples.Api; public sealed partial class Module { #region Methods private static void RegisterConfigurations(IServiceCollection container) { container.AddSingleton(); container.AddSingleton(c => c.GetService().EntityFrameworkMigration); container.AddSingleton(c => c.GetService().OpenId); container.AddSingleton(c => c.GetService().Server); container.AddSingleton(c => c.GetService().Swagger); } #endregion }