internal class Orchard.Events.EventsModule

Feb 10, 2011 at 7:01 AM

Hi!

I need to replace ShellSettingsManager in container to my implementation IShellSettingsManager.

So i write analogue of OrchardStarter ...

 

        public static IContainer CreateHostContainer(Action<ContainerBuilder> registrations) {
            var builder = new ContainerBuilder();
            builder.RegisterModule(new LoggingModule());
            builder.RegisterModule(new EventsModule());
            builder.RegisterModule(new CacheModule());

but i can't use EventModule directly because it is declared as internal