Skip to content

Commit

Permalink
Merge pull request #570 from sirphilliptubell/constructor-fix
Browse files Browse the repository at this point in the history
Updated a ServiceContainer constructor to include the OptimizeForLarg…
  • Loading branch information
seesharper committed Aug 24, 2022
2 parents a71b2a6 + 6a885d9 commit 58f3060
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/LightInject/LightInject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************
LightInject version 6.5.0
LightInject version 6.5.1
http://www.lightinject.net/
http://twitter.com/bernhardrichter
******************************************************************************/
Expand Down Expand Up @@ -2605,6 +2605,7 @@ public ServiceContainer(ContainerOptions options)
o.EnableVariance = options.EnableVariance;
o.VarianceFilter = options.VarianceFilter;
o.EnableOptionalArguments = options.EnableOptionalArguments;
o.OptimizeForLargeObjectGraphs = options.OptimizeForLargeObjectGraphs;
})
{
}
Expand Down
2 changes: 1 addition & 1 deletion src/LightInject/LightInject.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- <TargetFrameworks>netcoreapp3.1;netstandard2.0;netstandard1.6;netstandard1.3;net46</TargetFrameworks> -->
<TargetFrameworks>net6.0;netstandard2.0;netcoreapp3.1</TargetFrameworks>
<!-- <TargetFrameworks>netstandard2.0;netcoreapp2.0;netstandard1.6;netstandard1.3;netstandard1.1;net46;net452</TargetFrameworks> -->
<Version>6.5.0</Version>
<Version>6.5.1</Version>
<Authors>Bernhard Richter</Authors>
<PackageProjectUrl>https://www.lightinject.net</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit 58f3060

Please sign in to comment.