/// <summary> /// Create new audit metadata with specified key and value /// </summary> public AuditMetadata(AuditMetadataKey key, string value) { this.Key = key; this.Value = value; }
/// <summary> /// Add metadata to the audit /// </summary> public void AddMetadata(AuditMetadataKey key, String value) { this.Metadata.Add(new AuditMetadata(key, value)); }