Search Results for

    Show / Hide Table of Contents
    View Source

    Class AuditItem

    Inheritance
    System.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(Int32, AuditType, Int32, String, DateTime, String, String)

    Initializes a new instance of the AuditItem class.

    Declaration
    public AuditItem(int objectId, AuditType type, int userId, string entityType, DateTime createDate, string comment = null, string parameters = null)
    Parameters
    Type Name Description
    System.Int32 objectId
    AuditType type
    System.Int32 userId
    System.String entityType
    DateTime createDate
    System.String comment
    System.String parameters
    View Source

    AuditItem(Int32, AuditType, Int32, String, String, String)

    Declaration
    public AuditItem(int objectId, AuditType type, int userId, string entityType, string comment = null, string parameters = null)
    Parameters
    Type Name Description
    System.Int32 objectId
    AuditType type
    System.Int32 userId
    System.String entityType
    System.String comment
    System.String parameters

    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
    System.String
    View Source

    EntityType

    Gets the audited entity type.

    Declaration
    public string EntityType { get; }
    Property Value
    Type Description
    System.String
    View Source

    Parameters

    Gets optional additional data parameters.

    Declaration
    public string Parameters { get; }
    Property Value
    Type Description
    System.String
    View Source

    UserId

    Gets the audit user identifier.

    Declaration
    public int UserId { get; }
    Property Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • AuditItem(Int32, AuditType, Int32, String, DateTime, String, String)
      • AuditItem(Int32, AuditType, Int32, String, String, String)
    • Properties
      • AuditType
      • Comment
      • EntityType
      • Parameters
      • UserId
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX