Table of Contents

Interface IErrorList

Namespace
Loehnert.Lisrt.Scripting.ErrorList
Assembly
Loehnert.Lisrt.Scripting.dll

Interface for an error list.

public interface IErrorList : ITool, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged
Inherited Members
IHaveDisplayName.DisplayName
IActivate.Activate()
IActivate.IsActive
IActivate.Activated
IDeactivate.AttemptingDeactivation
IDeactivate.Deactivated
INotifyPropertyChangedEx.Refresh()
INotifyPropertyChangedEx.IsNotifying

Properties

Items

Gets the items in the list.

ObservableCollection<IErrorListItem> Items { get; }

Property Value

ObservableCollection<IErrorListItem>

ShowErrors

Gets or sets a value indicating whether the errors are shown.

bool ShowErrors { get; set; }

Property Value

bool

ShowMessages

Gets or sets a value indicating whether the messages are shown.

bool ShowMessages { get; set; }

Property Value

bool

ShowWarnings

Gets or sets a value indicating whether the warnings are shown.

bool ShowWarnings { get; set; }

Property Value

bool

Methods

AddItem(ErrorListItemType, ITranslation, string, int?, int?, Action)

Adds an item to the list.

void AddItem(ErrorListItemType itemType, ITranslation description, string path = null, int? line = null, int? column = null, Action onClick = null)

Parameters

itemType ErrorListItemType

Type for the item.

description ITranslation

Description for the item.

path string

Path of the file where the error occurred.

line int?

Line in the file where the error occurred.

column int?

Column in the file where the error occurred.

onClick Action

An action which is executed on clicking the item in the list.