Class ServiceProxyGeneratorBase<T>
Inheritance
object
ServiceProxyGeneratorBase<T>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public abstract class ServiceProxyGeneratorBase<T> : IServiceProxyGenerator where T : IServiceProxyGenerator
Type Parameters
Constructors
ServiceProxyGeneratorBase(CliHttpClientFactory, IJsonSerializer)
Declaration
protected ServiceProxyGeneratorBase(CliHttpClientFactory cliHttpClientFactory, IJsonSerializer jsonSerializer)
Parameters
Properties
CliHttpClientFactory
Declaration
public CliHttpClientFactory CliHttpClientFactory { get; }
Property Value
JsonSerializer
Declaration
public IJsonSerializer JsonSerializer { get; }
Property Value
Logger
Declaration
public ILogger<T> Logger { get; set; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Logging.ILogger<TCategoryName><T> |
|
Methods
GenerateProxyAsync(GenerateProxyArgs)
Declaration
public abstract Task GenerateProxyAsync(GenerateProxyArgs args)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetApplicationApiDescriptionModelAsync(GenerateProxyArgs, ApplicationApiDescriptionModelRequestDto)
Declaration
protected virtual Task<ApplicationApiDescriptionModel> GetApplicationApiDescriptionModelAsync(GenerateProxyArgs args, ApplicationApiDescriptionModelRequestDto requestDto = null)
Parameters
Returns
GetDefaultServiceType(GenerateProxyArgs)
Declaration
protected abstract ServiceType? GetDefaultServiceType(GenerateProxyArgs args)
Parameters
Returns
GetLoggerOutputPath(string, string)
Declaration
protected string GetLoggerOutputPath(string path, string workDirectory)
Parameters
| Type |
Name |
Description |
| string |
path |
|
| string |
workDirectory |
|
Returns
GetServiceType(GenerateProxyArgs)
Declaration
protected virtual ServiceType? GetServiceType(GenerateProxyArgs args)
Parameters
Returns
Implements
Extension Methods