Created
January 29, 2018 12:42
-
-
Save ismcagdas/689e7a2e06d62ecb1437478ae0f2ad96 to your computer and use it in GitHub Desktop.
Acme.HeroShop - HeroShopPublicModule.cs - 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DependsOn(typeof(HeroShopWebCoreModule))] | |
| public class HeroShopPublicModule: AbpModule | |
| { | |
| private readonly IHostingEnvironment _env; | |
| private readonly IConfigurationRoot _appConfiguration; | |
| public HeroShopPublicModule(IHostingEnvironment env) | |
| { | |
| _env = env; | |
| _appConfiguration = env.GetAppConfiguration(); | |
| } | |
| public override void Initialize() | |
| { | |
| IocManager.RegisterAssemblyByConvention(typeof(HeroShopPublicModule).GetAssembly()); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment