Table of Contents

Class ExceptionAggregator<T>

Namespace
Prefrontal.Common
Assembly
Prefrontal.Core.dll
public sealed class ExceptionAggregator<T> : IDisposable

Type Parameters

T
Inheritance
ExceptionAggregator<T>
Implements
Inherited Members
Extension Methods

Constructors

ExceptionAggregator(Func<List<(Exception exception, T value)>, string>?)

public ExceptionAggregator(Func<List<(Exception exception, T value)>, string>? GetMessage = null)

Parameters

GetMessage Func<List<(Exception exception, T value)>, string>

Properties

HasErrors

public bool HasErrors { get; }

Property Value

bool

Methods

Add(Exception, T)

public void Add(Exception exception, T value)

Parameters

exception Exception
value T

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()