Browse Source

Enhance CSharpServiceProxyGenerator

pull/11783/head
liangshiwei 5 years ago
parent
commit
af65cb2248
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs

@ -21,7 +21,7 @@ public class CSharpServiceProxyGenerator : ServiceProxyGeneratorBase<CSharpServi
private const string MethodPlaceholder = "<method placeholder>"; private const string MethodPlaceholder = "<method placeholder>";
private const string ClassName = "<className>"; private const string ClassName = "<className>";
private const string ServiceInterface = "<serviceInterface>"; private const string ServiceInterface = "<serviceInterface>";
private static string[] ServicePostfixes = { "AppService", "ApplicationService" }; private readonly static string[] ServicePostfixes = { "AppService", "ApplicationService" , "Service"};
private const string DefaultNamespace = "ClientProxies"; private const string DefaultNamespace = "ClientProxies";
private const string Namespace = "<namespace>"; private const string Namespace = "<namespace>";
private const string AppServicePrefix = "Volo.Abp.Application.Services"; private const string AppServicePrefix = "Volo.Abp.Application.Services";

Loading…
Cancel
Save