Show / Hide Table of Contents

Class AbpHttpClientProxyServiceConvention

Inheritance
object
AbpServiceConvention
AbpHttpClientProxyServiceConvention
Implements
IAbpServiceConvention
IApplicationModelConvention
ITransientDependency
Inherited Members
AbpServiceConvention.Apply(ApplicationModel)
AbpServiceConvention.RemoveIntegrationControllersIfNotExposed(ApplicationModel)
AbpServiceConvention.RemoveDuplicateControllers(ApplicationModel)
AbpServiceConvention.ConfigureRemoteService(ControllerModel, ConventionalControllerSetting)
AbpServiceConvention.CanUseFormBodyBinding(ActionModel, ParameterModel)
AbpServiceConvention.ConfigureApiExplorer(ControllerModel)
AbpServiceConvention.ConfigureApiExplorer(ActionModel)
AbpServiceConvention.ConfigureSelector(ControllerModel, ConventionalControllerSetting)
AbpServiceConvention.ConfigureSelector(string, string, ActionModel, ConventionalControllerSetting)
AbpServiceConvention.AddAbpServiceSelector(string, string, ActionModel, ConventionalControllerSetting)
AbpServiceConvention.SelectHttpMethod(ActionModel, ConventionalControllerSetting)
AbpServiceConvention.NormalizeSelectorRoutes(string, string, ActionModel, ConventionalControllerSetting)
AbpServiceConvention.GetRootPathOrDefault(Type)
AbpServiceConvention.GetControllerSettingOrNull(Type)
AbpServiceConvention.CreateAbpServiceAttributeRouteModel(string, string, ActionModel, string, ConventionalControllerSetting)
AbpServiceConvention.RemoveEmptySelectors(IList<SelectorModel>)
AbpServiceConvention.IsEmptySelector(SelectorModel)
AbpServiceConvention.ImplementsRemoteServiceInterface(Type)
AbpServiceConvention.IsVisibleRemoteService(Type)
AbpServiceConvention.IsVisibleRemoteServiceMethod(MethodInfo)
AbpServiceConvention.IsGlobalFeatureEnabled(Type)
AbpServiceConvention.Logger
AbpServiceConvention.Options
AbpServiceConvention.ConventionalRouteBuilder
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Http.Client.Web.Conventions
Assembly: Volo.Abp.Http.Client.Web.dll
Syntax
[DisableConventionalRegistration]
public class AbpHttpClientProxyServiceConvention : AbpServiceConvention, IAbpServiceConvention, IApplicationModelConvention, ITransientDependency

Constructors

AbpHttpClientProxyServiceConvention(IOptions<AbpAspNetCoreMvcOptions>, IConventionalRouteBuilder, IClientProxyApiDescriptionFinder, IOptions<AbpHttpClientStaticProxyingOptions>)

Declaration
public AbpHttpClientProxyServiceConvention(IOptions<AbpAspNetCoreMvcOptions> options, IConventionalRouteBuilder conventionalRouteBuilder, IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder, IOptions<AbpHttpClientStaticProxyingOptions> staticProxyingOptions)
Parameters
Type Name Description
IOptions<AbpAspNetCoreMvcOptions> options
IConventionalRouteBuilder conventionalRouteBuilder
IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder
IOptions<AbpHttpClientStaticProxyingOptions> staticProxyingOptions

Fields

ActionWithAttributeRoute

Declaration
protected readonly List<ActionModel> ActionWithAttributeRoute
Field Value
Type Description
List<ActionModel>

ClientProxyApiDescriptionFinder

Declaration
protected readonly IClientProxyApiDescriptionFinder ClientProxyApiDescriptionFinder
Field Value
Type Description
IClientProxyApiDescriptionFinder

ControllerWithAttributeRoute

Declaration
protected readonly List<ControllerModel> ControllerWithAttributeRoute
Field Value
Type Description
List<ControllerModel>

StaticProxyingOptions

Declaration
protected readonly AbpHttpClientStaticProxyingOptions StaticProxyingOptions
Field Value
Type Description
AbpHttpClientStaticProxyingOptions

Methods

ApplyForControllers(ApplicationModel)

Declaration
protected override void ApplyForControllers(ApplicationModel application)
Parameters
Type Name Description
ApplicationModel application
Overrides
AbpServiceConvention.ApplyForControllers(ApplicationModel)

ConfigureClientProxyApiExplorer(ControllerModel)

Declaration
protected virtual void ConfigureClientProxyApiExplorer(ControllerModel controller)
Parameters
Type Name Description
ControllerModel controller

ConfigureClientProxySelector(ControllerModel)

Declaration
protected virtual void ConfigureClientProxySelector(ControllerModel controller)
Parameters
Type Name Description
ControllerModel controller

ConfigureClientProxySelector(ControllerModel, ActionModel)

Declaration
protected virtual void ConfigureClientProxySelector(ControllerModel controller, ActionModel action)
Parameters
Type Name Description
ControllerModel controller
ActionModel action

ConfigureParameters(ControllerModel)

Declaration
protected override void ConfigureParameters(ControllerModel controller)
Parameters
Type Name Description
ControllerModel controller
Overrides
AbpServiceConvention.ConfigureParameters(ControllerModel)

FindActionApiDescriptionModel(ControllerModel, ActionModel)

Declaration
protected virtual ActionApiDescriptionModel? FindActionApiDescriptionModel(ControllerModel controller, ActionModel action)
Parameters
Type Name Description
ControllerModel controller
ActionModel action
Returns
Type Description
ActionApiDescriptionModel

FindAppServiceInterfaceType(ControllerModel)

Declaration
protected virtual Type? FindAppServiceInterfaceType(ControllerModel controller)
Parameters
Type Name Description
ControllerModel controller
Returns
Type Description
Type

FindControllerApiDescriptionModel(ControllerModel)

Declaration
protected virtual ControllerApiDescriptionModel? FindControllerApiDescriptionModel(ControllerModel controller)
Parameters
Type Name Description
ControllerModel controller
Returns
Type Description
ControllerApiDescriptionModel

FindModuleApiDescriptionModel(ControllerModel)

Declaration
protected virtual ModuleApiDescriptionModel? FindModuleApiDescriptionModel(ControllerModel controller)
Parameters
Type Name Description
ControllerModel controller
Returns
Type Description
ModuleApiDescriptionModel

GetClientProxyControllers(ApplicationModel)

Declaration
protected virtual IList<ControllerModel> GetClientProxyControllers(ApplicationModel application)
Parameters
Type Name Description
ApplicationModel application
Returns
Type Description
IList<ControllerModel>

GetControllers(ApplicationModel)

Declaration
protected override IList<ControllerModel> GetControllers(ApplicationModel application)
Parameters
Type Name Description
ApplicationModel application
Returns
Type Description
IList<ControllerModel>
Overrides
AbpServiceConvention.GetControllers(ApplicationModel)

ShouldBeRemove(ApplicationModel, ControllerModel)

Declaration
protected virtual bool ShouldBeRemove(ApplicationModel application, ControllerModel controllerModel)
Parameters
Type Name Description
ApplicationModel application
ControllerModel controllerModel
Returns
Type Description
bool

Implements

IAbpServiceConvention
IApplicationModelConvention
ITransientDependency

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