Show / Hide Table of Contents

Class HttpContextWebClientInfoProvider

Inheritance
object
HttpContextWebClientInfoProvider
Implements
IWebClientInfoProvider
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.WebClientInfo
Assembly: Volo.Abp.AspNetCore.dll
Syntax
[Dependency(ReplaceServices = true)]
public class HttpContextWebClientInfoProvider : IWebClientInfoProvider, ITransientDependency

Constructors

HttpContextWebClientInfoProvider(ILogger<HttpContextWebClientInfoProvider>, IHttpContextAccessor)

Declaration
public HttpContextWebClientInfoProvider(ILogger<HttpContextWebClientInfoProvider> logger, IHttpContextAccessor httpContextAccessor)
Parameters
Type Name Description
ILogger<HttpContextWebClientInfoProvider> logger
IHttpContextAccessor httpContextAccessor

Properties

BrowserInfo

Declaration
public string? BrowserInfo { get; }
Property Value
Type Description
string

ClientIpAddress

Declaration
public string? ClientIpAddress { get; }
Property Value
Type Description
string

DeviceInfo

Declaration
public string? DeviceInfo { get; }
Property Value
Type Description
string

HttpContextAccessor

Declaration
protected IHttpContextAccessor HttpContextAccessor { get; }
Property Value
Type Description
IHttpContextAccessor

Logger

Declaration
protected ILogger<HttpContextWebClientInfoProvider> Logger { get; }
Property Value
Type Description
ILogger<HttpContextWebClientInfoProvider>

Methods

GetBrowserInfo()

Declaration
protected virtual string? GetBrowserInfo()
Returns
Type Description
string

GetClientIpAddress()

Declaration
protected virtual string? GetClientIpAddress()
Returns
Type Description
string

GetDeviceInfo()

Declaration
protected virtual string? GetDeviceInfo()
Returns
Type Description
string

Implements

IWebClientInfoProvider
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