Class AspNetCoreAuditLogContributor
Implements
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.Auditing
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AspNetCoreAuditLogContributor : AuditLogContributor, ITransientDependency
Constructors
AspNetCoreAuditLogContributor()
Declaration
public AspNetCoreAuditLogContributor()
Properties
Logger
Declaration
public ILogger<AspNetCoreAuditLogContributor> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><AspNetCoreAuditLogContributor> |
Methods
BuildUrl(HttpContext)
Declaration
protected virtual string BuildUrl(HttpContext httpContext)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.HttpContext | httpContext |
Returns
| Type | Description |
|---|---|
| string |
PostContribute(AuditLogContributionContext)
Declaration
public override void PostContribute(AuditLogContributionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditLogContributionContext | context |
Overrides
PreContribute(AuditLogContributionContext)
Declaration
public override void PreContribute(AuditLogContributionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| AuditLogContributionContext | context |