Show / Hide Table of Contents

Interface IExceptionsRepository

A repository for managing exceptions data.

Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
public interface IExceptionsRepository

Methods

View Source

Delete(string)

Delete a given file.

Declaration
void Delete(string fullFileName)
Parameters
Type Name Description
string fullFileName

A file to delete.

Exceptions
Type Condition
ArgumentNullException

If parameter fullFileName is null.

View Source

HasAnyErrors()

Gets a value that indicates whether any unhandled error-protocol available.

Declaration
bool HasAnyErrors()
Returns
Type Description
bool

True if any unhandled error-protocol available available, otherwise False.

View Source

ReadAllAsync()

Read all exceptions.

Declaration
Task<IEnumerable<ExceptionEntity>> ReadAllAsync()
Returns
Type Description
Task<IEnumerable<ExceptionEntity>>

An enumerable of all existing ExceptionEntitys contained within a Task object representing the asynchronous operation.

View Source

SaveAsync(Exception)

Save the given exception.

Declaration
Task SaveAsync(Exception ex)
Parameters
Type Name Description
Exception ex

A exception to save.

Returns
Type Description
Task

A Task object representing the asynchronous operation.

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX