seesharper/LightInject.Microsoft.DependencyInjection

ContainerOptions.Default must not be mutated

Closed this issue · 1 comments

options.DefaultServiceSelector = serviceNames => serviceNames.SingleOrDefault(string.IsNullOrWhiteSpace) ?? serviceNames.Last();

Solved here

this.containerFactory = () => new ServiceContainer(options.WithMicrosoftSettings());