Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thepirat000 authored Feb 16, 2024
1 parent f199aff commit e57427c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,27 +239,6 @@ public class SomethingThatStartsAndEnds

For more information about the `EventCreationPolicy` please see [Event Creation Policy](https://github.com/thepirat000/Audit.NET/blob/master/README.md#event-creation-policy) section.

## Asynchronous operations

Asynchronous versions of the operations that save audit logs are also provided. For example:

```c#
public async Task SaveOrderAsync(Order order)
{
AuditScope auditScope = null;
try
{
// async scope creation
auditScope = await AuditScope.CreateAsync("order", () => order);
}
finally
{
// async disposal
await auditScope.DisposeAsync();
}
}
```

## Output

The library will generate an output (`AuditEvent`) for each operation, including:
Expand Down

0 comments on commit e57427c

Please sign in to comment.