Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Audit.AuditInfo Class

This class defines one audit record describing the data stored for each audit record. Applications don't instantiate this class directly. Applications add audit records using the Auditing.AddAuditAsync method.

Namespace: YetaWF.Core.Audit
Assembly: YetaWF.Core

Inheritance

Syntax

public class AuditInfo;

Constructors

PublicAuditInfoConstructor.

Properties

PublicActionAn application-specific string that describes the reason for this audit record. Typically, the type and name of the method requesting the audit record to be written is used.
PublicChangesLists the properties that were changed, analyzing DataBefore and DataAfter, if available.
PublicDataAfterThe after image of a data object that was changed, which caused the current audit record to be created. May be null if the data object was removed.
PublicDataBeforeThe before image of a data object that was changed, which caused the current audit record to be created. May be null if the data object was added.
PublicDescriptionA description of the audit record summarizing the audit record, in user displayable format.
PublicExpensiveMultiInstanceDefines whether the current action that caused the audit record is considered an "expensive" operation. Typically, actions that affect shared cashing are considered expensive.
PublicIdentifyGuidAn application-specific Guid that describes the reason for this audit record. For example, operations on modules can save the module's Guid.
PublicIdentifyStringAn application-specific string that describes the reason for this audit record.
PublicRequiresRestartDefines whether the current action that caused the audit record to be created requires a restart. This can be set when modifying settings that don't take effect until after the site is restarted.
PublicSiteIdentityThe site identity that created this audit record. Can be 0 if no specific site is associated with this audit record.
PublicUserIdThe user ID that caused this audit record to be created. Can be 0 if no specific user is associated with this audit record.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.Core Overview