bmcdavid/DotNetStarter

Lockable root locator

Closed this issue · 1 comments

When ILocatorConfigure.Completed is invoked the container should lock and not allow further changes, which will be a breaking change as its current state allow for registrations after completed.

As of DotNetStarter 1.2.x, after the locator completed event is fired, the locator becomes an IReadOnlyLocator which can be locked after calling DotNetStarter.ApplicationContext.Startup.