Class TranslatableErrorListItem
Class for an item in the error list.
public class TranslatableErrorListItem : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IErrorListItem
- Inheritance
-
PropertyChangedBaseTranslatableErrorListItem
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.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
ErrorListItemTypeType for the item.
description
ITranslationTranslatable description for the item.
path
stringPath 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
File
Gets the name of the file where the error occurred.
[DependsOn("Path")]
public string File { get; }
Property Value
ItemType
Gets or sets the ErrorListItemType.
public ErrorListItemType ItemType { get; set; }
Property Value
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
Path
Gets or sets the path of the file where the error occurred.
public string Path { get; set; }