public static void AddModule(IOCModule module) { if (module == null) { throw new ArgumentNullException(nameof(module)); } ThrowExceptionIfContainerIsNotInitialized(); container.AddModule(module); }