基于Autofac框架,完全自动注入,默认都是以构造函数来注入,在这里支持属性注入.
Info
Version: | 3.1.0 |
Author(s): | Dylan, hailang |
Last Update: | Friday, February 11, 2022 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/DMS.Autofac |
Install
Install-Package DMS.Autofac
dotnet add package DMS.Autofac
paket add DMS.Autofac
DMS.Autofac Download (Unzip the "nupkg" after downloading)
Dependencies
- Autofac.Extensions.DependencyInjection(>= 4.2.2)
- Microsoft.AspNetCore.Mvc(>= 2.2.0)