Class ExceptionsRepository
Implements the IExceptionsRepository interface.
Implements
Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
[Export(typeof(IExceptionsRepository))]
public class ExceptionsRepository : IExceptionsRepository
Methods
View SourceDelete(string)
A repository for managing exceptions data.
Declaration
public void Delete(string fullFileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fullFileName |
HasAnyErrors()
A repository for managing exceptions data.
Declaration
public bool HasAnyErrors()
Returns
| Type | Description |
|---|---|
| bool |
ReadAllAsync()
A repository for managing exceptions data.
Declaration
public Task<IEnumerable<ExceptionEntity>> ReadAllAsync()
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<ExceptionEntity>> |
SaveAsync(Exception)
A repository for managing exceptions data.
Declaration
public Task SaveAsync(Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | ex |
Returns
| Type | Description |
|---|---|
| Task |