Show / Hide Table of Contents

Class ExceptionsRepository

Implements the IExceptionsRepository interface.

Inheritance
System.Object
ExceptionsRepository
Implements
IExceptionsRepository
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
[Export(typeof(IExceptionsRepository))]
public class ExceptionsRepository : IExceptionsRepository

Methods

View Source

Delete(String)

A repository for managing exceptions data.

Declaration
public void Delete(string fullFileName)
Parameters
Type Name Description
System.String fullFileName

A file to delete.

Exceptions
Type Condition
System.ArgumentNullException

If parameter fullFileName is null.

View Source

HasAnyErrors()

A repository for managing exceptions data.

Declaration
public bool HasAnyErrors()
Returns
Type Description
System.Boolean

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

View Source

ReadAllAsync()

A repository for managing exceptions data.

Declaration
public Task<IEnumerable<ExceptionEntity>> ReadAllAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ExceptionEntity>>

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

View Source

SaveAsync(Exception)

A repository for managing exceptions data.

Declaration
public Task SaveAsync(Exception ex)
Parameters
Type Name Description
System.Exception ex

A exception to save.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task object representing the asynchronous operation.

Implements

IExceptionsRepository

Extension Methods

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