Table of Contents

Class TranslatableErrorListItem

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

Class for an item in the error list.

public class TranslatableErrorListItem : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IErrorListItem
Inheritance
PropertyChangedBase
TranslatableErrorListItem
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

TranslatableErrorListItem(ErrorListItemType, ITranslation, string, int?, int?)

Initializes a new instance of the TranslatableErrorListItem class.

public TranslatableErrorListItem(ErrorListItemType itemType, ITranslation description, string path = null, int? line = null, int? column = null)

Parameters

itemType ErrorListItemType

Type for the item.

description ITranslation

Translatable 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.

Properties

Column

Gets or sets the column in the file where the error occurred.

public int? Column { get; set; }

Property Value

int?

Description

Gets the description (the shown message) of the list item.

public string Description { get; }

Property Value

string

File

Gets the name of the file where the error occurred.

[DependsOn("Path")]
public string File { get; }

Property Value

string

ItemType

Gets or sets the ErrorListItemType.

public ErrorListItemType ItemType { get; set; }

Property Value

ErrorListItemType

Line

Gets or sets the line in the file where the error occurred.

public int? Line { get; set; }

Property Value

int?

OnClick

Gets or sets the action on a click on the item in the list.

public Action OnClick { get; set; }

Property Value

Action

Path

Gets or sets the path of the file where the error occurred.

public string Path { get; set; }

Property Value

string