StashboxOptions
Classnet10.0
Options for building the Stashbox Container
namespace Joinery.Dovetail.Stashbox;
public class StashboxOptions{ // ...}Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesConfigureContainer get; setAction<ContainerConfigurator> Configures the container (registration behavior, disposable transient tracking, etc.). Applied when the container is created and again once the service collection has been registered, so these settings win over the defaults set by the Microsoft.Extensions.DependencyInjection adapter.
ValidateLifetimesInDevelopment get; setbool Enables lifetime validation when the environment is Development (defaults to true)
ValidateOnBuild get; setbool Validates the whole container once the service provider has been built (defaults to false)