Search Results for

    Show / Hide Table of Contents
    View Source

    Class AuditItem

    Inheritance
    object
    BeingDirtyBase
    EntityBase
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class AuditItem : EntityBase, IRememberBeingDirty, ICanBeDirty, IAuditItem, IEntity, IDeepCloneable

    Constructors

    View Source

    AuditItem(int, AuditType, int, string?, string?, string?, DateTime?)

    Initializes a new instance of the AuditItem class.

    Declaration
    public AuditItem(int objectId, AuditType type, int userId, string? entityType, string? comment = null, string? parameters = null, DateTime? createDate = null)
    Parameters
    Type Name Description
    int objectId
    AuditType type
    int userId
    string entityType
    string comment
    string parameters
    DateTime? createDate

    Properties

    View Source

    AuditType

    Gets the audit type.

    Declaration
    public AuditType AuditType { get; }
    Property Value
    Type Description
    AuditType
    View Source

    Comment

    Gets the audit comments.

    Declaration
    public string? Comment { get; }
    Property Value
    Type Description
    string
    View Source

    EntityType

    Gets the audited entity type.

    Declaration
    public string? EntityType { get; }
    Property Value
    Type Description
    string
    View Source

    Parameters

    Gets optional additional data parameters.

    Declaration
    public string? Parameters { get; }
    Property Value
    Type Description
    string
    View Source

    UserId

    Gets the audit user identifier.

    Declaration
    public int UserId { get; }
    Property Value
    Type Description
    int
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX