Browse Source
Merge pull request #10820 from abpframework/maliming/Mvc-ClientProxy
pull/10821/head
liangshiwei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
16 additions and
0 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.Client.Common/ClientProxies/AbpApplicationConfigurationClientProxy.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc.Client.Common/ClientProxies/AbpTenantClientProxy.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc.Client.Common/Volo/Abp/AspNetCore/Mvc/Client/AbpAspNetCoreMvcClientCommonModule.cs
|
|
|
@ -1,7 +1,12 @@ |
|
|
|
// This file is part of AbpApplicationConfigurationClientProxy, you can customize it here
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
|
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies |
|
|
|
{ |
|
|
|
[RemoteService(false)] |
|
|
|
[DisableConventionalRegistration] |
|
|
|
public partial class AbpApplicationConfigurationClientProxy |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
@ -1,7 +1,13 @@ |
|
|
|
// This file is part of AbpTenantClientProxy, you can customize it here
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
|
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
|
|
namespace Pages.Abp.MultiTenancy.ClientProxies |
|
|
|
{ |
|
|
|
[RemoteService(false)] |
|
|
|
[DisableConventionalRegistration] |
|
|
|
public partial class AbpTenantClientProxy |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
@ -1,4 +1,6 @@ |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Pages.Abp.MultiTenancy.ClientProxies; |
|
|
|
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies; |
|
|
|
using Volo.Abp.Authorization; |
|
|
|
using Volo.Abp.Caching; |
|
|
|
using Volo.Abp.Features; |
|
|
|
@ -35,6 +37,9 @@ namespace Volo.Abp.AspNetCore.Mvc.Client |
|
|
|
{ |
|
|
|
options.GlobalContributors.Add<RemoteLocalizationContributor>(); |
|
|
|
}); |
|
|
|
|
|
|
|
context.Services.AddTransient<AbpApplicationConfigurationClientProxy>(); |
|
|
|
context.Services.AddTransient<AbpTenantClientProxy>(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|