Show / Hide Table of Contents

Class AbpHttpClientProxyServiceConvention

Inheritance
object
AbpServiceConvention
AbpHttpClientProxyServiceConvention
Implements
IAbpServiceConvention
Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention
ITransientDependency
Inherited Members
AbpServiceConvention.Apply(ApplicationModel)
AbpServiceConvention.RemoveDuplicateControllers(ApplicationModel)
AbpServiceConvention.ConfigureRemoteService(ControllerModel, ConventionalControllerSetting)
AbpServiceConvention.ConfigureParameters(ControllerModel)
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)

Declaration
public AbpHttpClientProxyServiceConvention(IOptions<AbpAspNetCoreMvcOptions> options, IConventionalRouteBuilder conventionalRouteBuilder, IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder)
Parameters
Type Name Description
Microsoft.Extensions.Options.IOptions<TOptions><AbpAspNetCoreMvcOptions> options
IConventionalRouteBuilder conventionalRouteBuilder
IClientProxyApiDescriptionFinder clientProxyApiDescriptionFinder

Fields

ActionWithAttributeRoute

Declaration
protected readonly List<ActionModel> ActionWithAttributeRoute
Field Value
Type Description
System.Collections.Generic.List<T><Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel>

ClientProxyApiDescriptionFinder

Declaration
protected readonly IClientProxyApiDescriptionFinder ClientProxyApiDescriptionFinder
Field Value
Type Description
IClientProxyApiDescriptionFinder

ControllerWithAttributeRoute

Declaration
protected readonly List<ControllerModel> ControllerWithAttributeRoute
Field Value
Type Description
System.Collections.Generic.List<T><Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel>

Methods

ApplyForControllers(ApplicationModel)

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

ConfigureClientProxyApiExplorer(ControllerModel)

Declaration
protected virtual void ConfigureClientProxyApiExplorer(ControllerModel controller)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller

ConfigureClientProxySelector(ControllerModel, ActionModel)

Declaration
protected virtual void ConfigureClientProxySelector(ControllerModel controller, ActionModel action)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller
Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action

ConfigureClientProxySelector(ControllerModel)

Declaration
protected virtual void ConfigureClientProxySelector(ControllerModel controller)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller

FindActionApiDescriptionModel(ControllerModel, ActionModel)

Declaration
protected virtual ActionApiDescriptionModel FindActionApiDescriptionModel(ControllerModel controller, ActionModel action)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller
Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel action
Returns
Type Description
ActionApiDescriptionModel

FindAppServiceInterfaceType(ControllerModel)

Declaration
protected virtual Type FindAppServiceInterfaceType(ControllerModel controller)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller
Returns
Type Description
System.Type

FindControllerApiDescriptionModel(ControllerModel)

Declaration
protected virtual ControllerApiDescriptionModel FindControllerApiDescriptionModel(ControllerModel controller)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller
Returns
Type Description
ControllerApiDescriptionModel

FindModuleApiDescriptionModel(ControllerModel)

Declaration
protected virtual ModuleApiDescriptionModel FindModuleApiDescriptionModel(ControllerModel controller)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controller
Returns
Type Description
ModuleApiDescriptionModel

GetClientProxyControllers(ApplicationModel)

Declaration
protected virtual IList<ControllerModel> GetClientProxyControllers(ApplicationModel application)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel application
Returns
Type Description
System.Collections.Generic.IList<T><Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel>

GetControllers(ApplicationModel)

Declaration
protected override IList<ControllerModel> GetControllers(ApplicationModel application)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel application
Returns
Type Description
System.Collections.Generic.IList<T><Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel>
Overrides
AbpServiceConvention.GetControllers(ApplicationModel)

ShouldBeRemove(ApplicationModel, ControllerModel)

Declaration
protected virtual bool ShouldBeRemove(ApplicationModel application, ControllerModel controllerModel)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel application
Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerModel controllerModel
Returns
Type Description
bool

Implements

IAbpServiceConvention
Microsoft.AspNetCore.Mvc.ApplicationModels.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft