mirror of https://github.com/abpframework/abp.git
committed by
GitHub
10 changed files with 273 additions and 25 deletions
@ -0,0 +1,23 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies |
||||
|
{ |
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IAbpApplicationConfigurationAppService), typeof(AbpApplicationConfigurationClientProxy))] |
||||
|
public partial class AbpApplicationConfigurationClientProxy : ClientProxyBase<IAbpApplicationConfigurationAppService>, IAbpApplicationConfigurationAppService |
||||
|
{ |
||||
|
public virtual async Task<ApplicationConfigurationDto> GetAsync() |
||||
|
{ |
||||
|
return await RequestAsync<ApplicationConfigurationDto>(nameof(GetAsync)); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,8 @@ |
|||||
|
// This file is part of AbpApplicationConfigurationClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies |
||||
|
{ |
||||
|
public partial class AbpApplicationConfigurationClientProxy |
||||
|
{ |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,34 @@ |
|||||
|
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
||||
|
using System; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.Http.Client; |
||||
|
using Volo.Abp.Http.Modeling; |
||||
|
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Http.Client.ClientProxying; |
||||
|
using Volo.Abp.AspNetCore.Mvc.MultiTenancy; |
||||
|
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Pages.Abp.MultiTenancy.ClientProxies |
||||
|
{ |
||||
|
[Dependency(ReplaceServices = true)] |
||||
|
[ExposeServices(typeof(IAbpTenantAppService), typeof(AbpTenantClientProxy))] |
||||
|
public partial class AbpTenantClientProxy : ClientProxyBase<IAbpTenantAppService>, IAbpTenantAppService |
||||
|
{ |
||||
|
public virtual async Task<FindTenantResultDto> FindTenantByNameAsync(string name) |
||||
|
{ |
||||
|
return await RequestAsync<FindTenantResultDto>(nameof(FindTenantByNameAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(string), name } |
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
public virtual async Task<FindTenantResultDto> FindTenantByIdAsync(Guid id) |
||||
|
{ |
||||
|
return await RequestAsync<FindTenantResultDto>(nameof(FindTenantByIdAsync), new ClientProxyRequestTypeValue |
||||
|
{ |
||||
|
{ typeof(Guid), id } |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,8 @@ |
|||||
|
// This file is part of AbpTenantClientProxy, you can customize it here
|
||||
|
// ReSharper disable once CheckNamespace
|
||||
|
namespace Pages.Abp.MultiTenancy.ClientProxies |
||||
|
{ |
||||
|
public partial class AbpTenantClientProxy |
||||
|
{ |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,169 @@ |
|||||
|
{ |
||||
|
"modules": { |
||||
|
"abp": { |
||||
|
"rootPath": "abp", |
||||
|
"remoteServiceName": "abp", |
||||
|
"controllers": { |
||||
|
"Pages.Abp.MultiTenancy.AbpTenantController": { |
||||
|
"controllerName": "AbpTenant", |
||||
|
"controllerGroupName": "AbpTenant", |
||||
|
"type": "Pages.Abp.MultiTenancy.AbpTenantController", |
||||
|
"interfaces": [ |
||||
|
{ |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService" |
||||
|
} |
||||
|
], |
||||
|
"actions": { |
||||
|
"FindTenantByNameAsyncByName": { |
||||
|
"uniqueName": "FindTenantByNameAsyncByName", |
||||
|
"name": "FindTenantByNameAsync", |
||||
|
"httpMethod": "GET", |
||||
|
"url": "api/abp/multi-tenancy/tenants/by-name/{name}", |
||||
|
"supportedVersions": [], |
||||
|
"parametersOnMethod": [ |
||||
|
{ |
||||
|
"name": "name", |
||||
|
"typeAsString": "System.String, System.Private.CoreLib", |
||||
|
"type": "System.String", |
||||
|
"typeSimple": "string", |
||||
|
"isOptional": false, |
||||
|
"defaultValue": null |
||||
|
} |
||||
|
], |
||||
|
"parameters": [ |
||||
|
{ |
||||
|
"nameOnMethod": "name", |
||||
|
"name": "name", |
||||
|
"jsonName": null, |
||||
|
"type": "System.String", |
||||
|
"typeSimple": "string", |
||||
|
"isOptional": false, |
||||
|
"defaultValue": null, |
||||
|
"constraintTypes": [], |
||||
|
"bindingSourceId": "Path", |
||||
|
"descriptorName": "" |
||||
|
} |
||||
|
], |
||||
|
"returnValue": { |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto", |
||||
|
"typeSimple": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto" |
||||
|
}, |
||||
|
"allowAnonymous": null, |
||||
|
"implementFrom": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService" |
||||
|
}, |
||||
|
"FindTenantByIdAsyncById": { |
||||
|
"uniqueName": "FindTenantByIdAsyncById", |
||||
|
"name": "FindTenantByIdAsync", |
||||
|
"httpMethod": "GET", |
||||
|
"url": "api/abp/multi-tenancy/tenants/by-id/{id}", |
||||
|
"supportedVersions": [], |
||||
|
"parametersOnMethod": [ |
||||
|
{ |
||||
|
"name": "id", |
||||
|
"typeAsString": "System.Guid, System.Private.CoreLib", |
||||
|
"type": "System.Guid", |
||||
|
"typeSimple": "string", |
||||
|
"isOptional": false, |
||||
|
"defaultValue": null |
||||
|
} |
||||
|
], |
||||
|
"parameters": [ |
||||
|
{ |
||||
|
"nameOnMethod": "id", |
||||
|
"name": "id", |
||||
|
"jsonName": null, |
||||
|
"type": "System.Guid", |
||||
|
"typeSimple": "string", |
||||
|
"isOptional": false, |
||||
|
"defaultValue": null, |
||||
|
"constraintTypes": [], |
||||
|
"bindingSourceId": "Path", |
||||
|
"descriptorName": "" |
||||
|
} |
||||
|
], |
||||
|
"returnValue": { |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto", |
||||
|
"typeSimple": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto" |
||||
|
}, |
||||
|
"allowAnonymous": null, |
||||
|
"implementFrom": "Volo.Abp.AspNetCore.Mvc.MultiTenancy.IAbpTenantAppService" |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
"Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController": { |
||||
|
"controllerName": "AbpApplicationConfiguration", |
||||
|
"controllerGroupName": "AbpApplicationConfiguration", |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController", |
||||
|
"interfaces": [ |
||||
|
{ |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService" |
||||
|
} |
||||
|
], |
||||
|
"actions": { |
||||
|
"GetAsync": { |
||||
|
"uniqueName": "GetAsync", |
||||
|
"name": "GetAsync", |
||||
|
"httpMethod": "GET", |
||||
|
"url": "api/abp/application-configuration", |
||||
|
"supportedVersions": [], |
||||
|
"parametersOnMethod": [], |
||||
|
"parameters": [], |
||||
|
"returnValue": { |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto", |
||||
|
"typeSimple": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto" |
||||
|
}, |
||||
|
"allowAnonymous": null, |
||||
|
"implementFrom": "Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.IAbpApplicationConfigurationAppService" |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
"Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController": { |
||||
|
"controllerName": "AbpApiDefinition", |
||||
|
"controllerGroupName": "AbpApiDefinition", |
||||
|
"type": "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController", |
||||
|
"interfaces": [], |
||||
|
"actions": { |
||||
|
"GetByModel": { |
||||
|
"uniqueName": "GetByModel", |
||||
|
"name": "Get", |
||||
|
"httpMethod": "GET", |
||||
|
"url": "api/abp/api-definition", |
||||
|
"supportedVersions": [], |
||||
|
"parametersOnMethod": [ |
||||
|
{ |
||||
|
"name": "model", |
||||
|
"typeAsString": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModelRequestDto, Volo.Abp.Http", |
||||
|
"type": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModelRequestDto", |
||||
|
"typeSimple": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModelRequestDto", |
||||
|
"isOptional": false, |
||||
|
"defaultValue": null |
||||
|
} |
||||
|
], |
||||
|
"parameters": [ |
||||
|
{ |
||||
|
"nameOnMethod": "model", |
||||
|
"name": "IncludeTypes", |
||||
|
"jsonName": null, |
||||
|
"type": "System.Boolean", |
||||
|
"typeSimple": "boolean", |
||||
|
"isOptional": false, |
||||
|
"defaultValue": null, |
||||
|
"constraintTypes": null, |
||||
|
"bindingSourceId": "ModelBinding", |
||||
|
"descriptorName": "model" |
||||
|
} |
||||
|
], |
||||
|
"returnValue": { |
||||
|
"type": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModel", |
||||
|
"typeSimple": "Volo.Abp.Http.Modeling.ApplicationApiDescriptionModel" |
||||
|
}, |
||||
|
"allowAnonymous": null, |
||||
|
"implementFrom": "Volo.Abp.AspNetCore.Mvc.ApiExploring.AbpApiDefinitionController" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
"types": {} |
||||
|
} |
||||
Loading…
Reference in new issue