Beispiel #1
0
 public void AddItem(ErrorListItemType itemType, string description,
                     string path           = null, int?line = null, int?column = null,
                     System.Action onClick = null)
 {
     Items.Add(new ErrorListItem(itemType, Items.Count + 1, description, path, line, column)
     {
         OnClick = onClick
     });
 }
        // Error list behaviors

        #region Error list behaviors

        public void AddItem(ErrorListItemType type, string code, string description, string path = null,
                            int?line   = null,
                            int?column = null, Action onClick = null)
        {
            Items.Add(new ErrorListItem(type, code, description, path, line, column)
            {
                OnClick = onClick
            });
        }
Beispiel #3
0
        // Initializations

        #region Initializations

        public ErrorListItem(ErrorListItemType type, string code, string description,
                             string path = null, int?line = null, int?column = null)
        {
            _type        = type;
            _code        = code;
            _description = description;
            _path        = path;
            _line        = line;
            _column      = column;
        }
Beispiel #4
0
 public ErrorListItem(ErrorListItemType itemType, int number, string description,
     string path = null, int? line = null, int? column = null)
 {
     _itemType = itemType;
     _number = number;
     _description = description;
     _path = path;
     _line = line;
     _column = column;
 }
Beispiel #5
0
 public ErrorListItem(ErrorListItemType itemType, int number, string description,
                      string path = null, int?line = null, int?column = null)
 {
     _itemType    = itemType;
     _number      = number;
     _description = description;
     _path        = path;
     _line        = line;
     _column      = column;
 }
Beispiel #6
0
 public void AddItem(ErrorListItemType itemType, string description, 
     string path = null, int? line = null, int? column = null,
     System.Action onClick = null)
 {
     Items.Add(new ErrorListItem(itemType, Items.Count + 1, description, path, line, column)
     {
         OnClick = onClick
     });
 }