Exemplo n.º 1
0
        public static AuditEvent WithSensitiveData <T>(this AuditEvent source, T data, Func <T, string> dataIdAccessor)
            where T : class
        {
            source.WithData(data, dataIdAccessor);
            // TODO : Encrypt Sensitive Data
            source.IsSensitiveData = true;

            return(source);
        }