Autofac.Engine
3.0.2
See the version list below for details.
dotnet add package Autofac.Engine --version 3.0.2
NuGet\Install-Package Autofac.Engine -Version 3.0.2
<PackageReference Include="Autofac.Engine" Version="3.0.2" />
paket add Autofac.Engine --version 3.0.2
#r "nuget: Autofac.Engine, 3.0.2"
// Install Autofac.Engine as a Cake Addin #addin nuget:?package=Autofac.Engine&version=3.0.2 // Install Autofac.Engine as a Cake Tool #tool nuget:?package=Autofac.Engine&version=3.0.2
Code : {
Init: EngineContext.Initialize(false,ScopeTag.None);
WebMvc SetResolver: DependencyResolver.SetResolver(new AutofacDependencyResolver(EngineContext.Scope));
WebApi SetResolver: GlobalConfiguration.Configuration.DependencyResolver = new AutofacWebApiDependencyResolver(EngineContext.Scope);
Registrar: IDependencyRegistrar: { builder.RegisterType<Service>().As<IService>().InstancePerLifetimeScope(); }
Resolve: EngineContext.Resolve<IService>();
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Autofac (>= 3.5.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0.2 | 96 | 8/28/2024 |
8.0.0.1 | 110 | 8/26/2024 |
5.0.0.2 | 1,111 | 9/23/2022 |
5.0.0.1 | 4,521 | 8/18/2020 |
4.7.5 | 2,888 | 12/30/2019 |
4.7.1 | 1,523 | 12/5/2019 |
4.7.0 | 1,438 | 12/2/2019 |
4.6.0 | 1,469 | 9/25/2019 |
4.5.0 | 44,463 | 4/23/2019 |
4.3.0 | 2,211 | 10/18/2018 |
4.2.3 | 2,789 | 8/13/2018 |
4.2.0-beta | 1,432 | 8/9/2018 |
3.0.2 | 28,284 | 12/22/2016 |
3.0.1 | 1,820 | 12/22/2016 |
3.0.0 | 2,248 | 12/22/2016 |
Autofac.Engine
http://git.oschina.net/Lycan80/Autofac.Engine
该类库只是针对Autofac进行应用封装,主要目标是使开发者在应用时更为简单。
参考:NopCommerce,Autofac,Autofac.Integration.Mvc,已应用在多个项目经验