ContainerOptionsEnableDynamicAssemblyCompilation Property

Simple Injector

Note: This API is now obsolete.

This property is obsolete and setting it has no effect. To use dynamic assembly compilation, set the ExpressionCompilationBehavior property with the custom IExpressionCompilationBehavior implementation from the SimpleInjector.DynamicAssemblyCompilation package.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.0.0
Syntax

[ObsoleteAttribute("Changing this value to true has no effect. To use dynamic assembly compilation, set the ExpressionCompilationBehavior property with a new DynamicAssemblyExpressionCompilationBehavior instance that is located in the SimpleInjector.DynamicAssemblyCompilation package. Will be treated as an error from version 5.5. Will be removed in version 6.0.", 
	false)]
public bool EnableDynamicAssemblyCompilation { get; set; }

Property Value

Type: Boolean
A boolean indicating whether the container should use a dynamic assembly for compilation.
See Also

Reference