/// <summary> /// Initializes a new <see cref="AuditRecord"/>. /// </summary> /// <param name="declaringType">Declaring type of the audited method.</param> /// <param name="memberName">Name of the audited method.</param> /// <param name="recordKind">Kind of record (typically <see cref="LogRecordKind.MethodSuccess"/> or <see cref="LogRecordKind.MethodException"/>).</param> public AuditRecord(Type declaringType, string memberName, LogRecordKind recordKind) { this.MemberName = memberName; this.RecordKind = recordKind; this.DeclaringType = declaringType; this.Time = DateTime.Now; }
public ExtendedAuditRecord(Type declaringType, string memberName, LogRecordKind recordKind) : base(declaringType, memberName, recordKind) { }