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
Properties
HasErrors
public bool HasErrors { get; }
Property Value
Methods
Add(Exception, T)
public void Add(Exception exception, T value)
Parameters
exception
Exceptionvalue
T
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()