internal ContainerOptions(Container container) { Requires.IsNotNull(container, "container"); this.Container = container; this.resolutionBehavior = new DefaultConstructorResolutionBehavior(); this.injectionBehavior = new DefaultDependencyInjectionBehavior(container); this.propertyBehavior = new DefaultPropertySelectionBehavior(); this.lifestyleBehavior = new DefaultLifestyleSelectionBehavior(Lifestyle.Transient); this.batchRegistrationBehavior = new DefaultBatchRegistrationBehavior(container); }
internal ContainerOptions(Container container) { Requires.IsNotNull(container, nameof(container)); this.Container = container; this.resolutionBehavior = new DefaultConstructorResolutionBehavior(); this.injectionBehavior = new DefaultDependencyInjectionBehavior(container); this.propertyBehavior = new DefaultPropertySelectionBehavior(); this.lifestyleBehavior = new DefaultLifestyleSelectionBehavior(Lifestyle.Transient); this.batchRegistrationBehavior = new DefaultBatchRegistrationBehavior(container); }