Show / Hide Table of Contents

Class AuditLogs

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
AbpAuditLoggingComponentBase
AuditLogs
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
AbpComponentBase.LazyGetRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetService<TService>(ref TService)
AbpComponentBase.LazyGetService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedService<TRef>(Type, ref TRef)
AbpComponentBase.CreateLocalizer()
AbpComponentBase.HandleErrorAsync(Exception)
AbpComponentBase.StringLocalizerFactory
AbpComponentBase.L
AbpComponentBase.LocalizationResource
AbpComponentBase.Logger
AbpComponentBase.LoggerFactory
AbpComponentBase.AuthorizationService
AbpComponentBase.CurrentUser
AbpComponentBase.CurrentTenant
AbpComponentBase.Message
AbpComponentBase.Notify
AbpComponentBase.UserExceptionInformer
AbpComponentBase.AlertManager
AbpComponentBase.Clock
AbpComponentBase.Alerts
AbpComponentBase.ObjectMapper
AbpComponentBase.ObjectMapperContext
AbpComponentBase.NonScopedServices
OwningComponentBase.Dispose(bool)
OwningComponentBase.IsDisposed
OwningComponentBase.ScopedServices
ComponentBase.OnInitialized()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.OnAfterRenderAsync(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AuditLogging.Blazor.Pages.AuditLogging
Assembly: Volo.Abp.AuditLogging.Blazor.dll
Syntax
[Authorize("AuditLogging.AuditLogs")]
public class AuditLogs : AbpAuditLoggingComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

AuditLogs()

Declaration
public AuditLogs()

Fields

AuditLogDetail

Declaration
protected AuditLogDto AuditLogDetail
Field Value
Type Description
AuditLogDto

AuditLogDetailActionPanelStatus

Declaration
protected Dictionary<Guid, bool> AuditLogDetailActionPanelStatus
Field Value
Type Description
Dictionary<Guid, bool>

AuditLogDetailEntityChangesPanelStatus

Declaration
protected Dictionary<Guid, bool> AuditLogDetailEntityChangesPanelStatus
Field Value
Type Description
Dictionary<Guid, bool>

AuditLogList

Declaration
protected IReadOnlyList<AuditLogDto> AuditLogList
Field Value
Type Description
IReadOnlyList<AuditLogDto>

CurrentPage

Declaration
protected int CurrentPage
Field Value
Type Description
int

CurrentSorting

Declaration
protected string CurrentSorting
Field Value
Type Description
string

DetailModal

Declaration
protected Modal DetailModal
Field Value
Type Description
Modal

DetailModalDefaultTabName

Declaration
protected const string DetailModalDefaultTabName = "Overall"
Field Value
Type Description
string

DetailModalSelectedTab

Declaration
protected string DetailModalSelectedTab
Field Value
Type Description
string

Filter

Declaration
protected GetAuditLogListDto Filter
Field Value
Type Description
GetAuditLogListDto

NullBoolValue

Declaration
protected readonly bool? NullBoolValue
Field Value
Type Description
bool?

NullStatusCodeValue

Declaration
protected readonly int NullStatusCodeValue
Field Value
Type Description
int

NullStringValue

Declaration
protected const string NullStringValue = "empty_value"
Field Value
Type Description
string

StatusCodeValue

Declaration
protected int StatusCodeValue
Field Value
Type Description
int

TotalCount

Declaration
protected int? TotalCount
Field Value
Type Description
int?

Properties

AppService

Declaration
[Inject]
protected IAuditLogsAppService AppService { get; set; }
Property Value
Type Description
IAuditLogsAppService

AuditLogsTableColumns

Declaration
protected List<TableColumn> AuditLogsTableColumns { get; }
Property Value
Type Description
List<TableColumn>

DateFormat

Declaration
public string DateFormat { get; }
Property Value
Type Description
string

EntityActions

Declaration
protected EntityActionDictionary EntityActions { get; }
Property Value
Type Description
EntityActionDictionary

HasException

Declaration
protected string HasException { get; set; }
Property Value
Type Description
string

HttpMethod

Declaration
protected string HttpMethod { get; set; }
Property Value
Type Description
string

PageSize

Declaration
protected virtual int PageSize { get; }
Property Value
Type Description
int

TableColumns

Declaration
protected TableColumnDictionary TableColumns { get; }
Property Value
Type Description
TableColumnDictionary

TimeAs24hr

Declaration
public bool TimeAs24hr { get; }
Property Value
Type Description
bool

TimeFormat

Declaration
public string TimeFormat { get; }
Property Value
Type Description
string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

ClearFilterAsync()

Declaration
protected virtual Task ClearFilterAsync()
Returns
Type Description
Task

CloseDetailModalAsync()

Declaration
protected virtual Task CloseDetailModalAsync()
Returns
Type Description
Task

ClosingDetailModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingDetailModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

GetEntitiesAsync()

Declaration
protected virtual Task GetEntitiesAsync()
Returns
Type Description
Task

GetHttpMethodBadgeColor(string)

Declaration
protected virtual Color GetHttpMethodBadgeColor(string method)
Parameters
Type Name Description
string method
Returns
Type Description
Color

GetHttpMethods()

Declaration
protected virtual List<string> GetHttpMethods()
Returns
Type Description
List<string>

GetHttpStatusCodeBadgeColor(int?)

Declaration
protected virtual Color GetHttpStatusCodeBadgeColor(int? statusCode)
Parameters
Type Name Description
int? statusCode
Returns
Type Description
Color

GetHttpStatusCodeList()

Declaration
protected virtual List<HttpStatusCode> GetHttpStatusCodeList()
Returns
Type Description
List<HttpStatusCode>

GetHttpStatusCodeText(HttpStatusCode)

Declaration
protected virtual string GetHttpStatusCodeText(HttpStatusCode statusCode)
Parameters
Type Name Description
HttpStatusCode statusCode
Returns
Type Description
string

OnDataGridReadAsync(DataGridReadDataEventArgs<AuditLogDto>)

Declaration
protected virtual Task OnDataGridReadAsync(DataGridReadDataEventArgs<AuditLogDto> e)
Parameters
Type Name Description
DataGridReadDataEventArgs<AuditLogDto> e
Returns
Type Description
Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task
Overrides
ComponentBase.OnInitializedAsync()

OpenDetailModalAsync(Guid)

Declaration
protected virtual Task OpenDetailModalAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

SearchEntitiesAsync()

Declaration
protected virtual Task SearchEntitiesAsync()
Returns
Type Description
Task

SerializeDictionary(Dictionary<string, object>)

Declaration
protected virtual string SerializeDictionary(Dictionary<string, object> dictionary)
Parameters
Type Name Description
Dictionary<string, object> dictionary
Returns
Type Description
string

SetEntityActionsAsync()

Declaration
protected virtual ValueTask SetEntityActionsAsync()
Returns
Type Description
ValueTask

SetTableColumnsAsync()

Declaration
protected virtual ValueTask SetTableColumnsAsync()
Returns
Type Description
ValueTask

Implements

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

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