public string GetKey(AuditEvent auditEvent) { if (KeyBuilder == null) { throw new ArgumentException("The redis key was not provided."); } return(KeyBuilder.Invoke(auditEvent)); }