Table of Contents

Class LogAndDisplayErrorService

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

Represents a service that logs and displays errors.

public class LogAndDisplayErrorService : ILogAndDisplayErrorService
Inheritance
LogAndDisplayErrorService
Implements

Constructors

LogAndDisplayErrorService(IEventAggregator, ILogger<LogAndDisplayErrorService>, IWindowDialogService)

Initializes a new instance of the LogAndDisplayErrorService class.

Properties

EventAggregator

Gets the event aggregator.

Logger

Gets the logger.

WindowDialogService

Gets the window dialog service.

Methods

DisplayError(ErrorOccurredEventData)

Displays the error.

LogAndDisplayError(ErrorOccurredEventData)

Logs and displays the specified error.