Show / Hide Table of Contents

Class ServiceProxyGeneratorBase<T>

Inheritance
object
ServiceProxyGeneratorBase<T>
AngularServiceProxyGenerator
CSharpServiceProxyGenerator
JavaScriptServiceProxyGenerator
Implements
IServiceProxyGenerator
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.ServiceProxying
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public abstract class ServiceProxyGeneratorBase<T> : IServiceProxyGenerator where T : IServiceProxyGenerator
Type Parameters
Name Description
T

Constructors

ServiceProxyGeneratorBase(CliHttpClientFactory, IJsonSerializer)

Declaration
protected ServiceProxyGeneratorBase(CliHttpClientFactory cliHttpClientFactory, IJsonSerializer jsonSerializer)
Parameters
Type Name Description
CliHttpClientFactory cliHttpClientFactory
IJsonSerializer jsonSerializer

Properties

CliHttpClientFactory

Declaration
public CliHttpClientFactory CliHttpClientFactory { get; }
Property Value
Type Description
CliHttpClientFactory

JsonSerializer

Declaration
public IJsonSerializer JsonSerializer { get; }
Property Value
Type Description
IJsonSerializer

Logger

Declaration
public ILogger<T> Logger { get; set; }
Property Value
Type Description
ILogger<T>

Methods

GenerateProxyAsync(GenerateProxyArgs)

Declaration
public abstract Task GenerateProxyAsync(GenerateProxyArgs args)
Parameters
Type Name Description
GenerateProxyArgs args
Returns
Type Description
Task

GetApplicationApiDescriptionModelAsync(GenerateProxyArgs, ApplicationApiDescriptionModelRequestDto)

Declaration
protected virtual Task<ApplicationApiDescriptionModel> GetApplicationApiDescriptionModelAsync(GenerateProxyArgs args, ApplicationApiDescriptionModelRequestDto requestDto = null)
Parameters
Type Name Description
GenerateProxyArgs args
ApplicationApiDescriptionModelRequestDto requestDto
Returns
Type Description
Task<ApplicationApiDescriptionModel>

GetDefaultServiceType(GenerateProxyArgs)

Declaration
protected abstract ServiceType? GetDefaultServiceType(GenerateProxyArgs args)
Parameters
Type Name Description
GenerateProxyArgs args
Returns
Type Description
ServiceType?

GetLoggerOutputPath(string, string)

Declaration
protected string GetLoggerOutputPath(string path, string workDirectory)
Parameters
Type Name Description
string path
string workDirectory
Returns
Type Description
string

GetServiceType(GenerateProxyArgs)

Declaration
protected virtual ServiceType? GetServiceType(GenerateProxyArgs args)
Parameters
Type Name Description
GenerateProxyArgs args
Returns
Type Description
ServiceType?

Implements

IServiceProxyGenerator

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform