mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
using System.Collections.Generic;
|
|
using Volo.Abp.Application.Services;
|
|
using Volo.Abp.Authorization;
|
|
using Volo.Abp.Domain;
|
|
using Volo.Abp.Http;
|
|
using Volo.Abp.Http.Modeling;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.ObjectMapping;
|
|
using Volo.Abp.Security;
|
|
using Volo.Abp.Settings;
|
|
using Volo.Abp.Uow;
|
|
using Volo.Abp.Validation;
|
|
|
|
namespace Volo.Abp.Application
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpDddDomainModule),
|
|
typeof(AbpSecurityModule),
|
|
typeof(AbpObjectMappingModule),
|
|
typeof(AbpValidationModule),
|
|
typeof(AbpAuthorizationModule),
|
|
typeof(AbpHttpAbstractionsModule),
|
|
typeof(AbpSettingsModule)
|
|
)]
|
|
public class AbpDddApplicationModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<ApiDescriptionModelOptions>(options =>
|
|
{
|
|
options.IgnoredInterfaces.AddIfNotContains(typeof(IRemoteService));
|
|
options.IgnoredInterfaces.AddIfNotContains(typeof(IApplicationService));
|
|
options.IgnoredInterfaces.AddIfNotContains(typeof(IUnitOfWorkEnabled)); //TODO: Move to it's own module if possible?
|
|
options.IgnoredInterfaces.AddIfNotContains(typeof(IAuthorizationEnabled)); //TODO: Move to it's own module if possible?
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|