Пример #1
0
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            FeatureConfigurer.Configure();

            context.Services.PreConfigure <AbpMvcDataAnnotationsLocalizationOptions>(options =>
            {
                options.AddAssemblyResource(
                    typeof(CmsKitResource),
                    typeof(CmsKitDomainSharedModule).Assembly,
                    typeof(CmsKitApplicationContractsModule).Assembly,
                    typeof(CmsKitWebHostModule).Assembly
                    );
            });
        }
Пример #2
0
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     FeatureConfigurer.Configure();
 }