Наследование: IToDoMarker
Пример #1
0
        public void ToStringIsAsExpected()
        {
            var expected = "FixMe:";
            var marker = new ToDoMarker(expected, TodoPriority.High);

            Assert.AreEqual(expected, marker.ToString());
        }
        public ToDoMarker[] GetDefaultTodoMarkers()
        {
            var note = new ToDoMarker(RubberduckUI.TodoMarkerNote);
            var todo = new ToDoMarker(RubberduckUI.TodoMarkerTodo);
            var bug  = new ToDoMarker(RubberduckUI.TodoMarkerBug);

            return(new[] { note, todo, bug });
        }
Пример #3
0
        public ToDoListSettings()
        {
            var note = new ToDoMarker(RubberduckUI.TodoMarkerNote);
            var todo = new ToDoMarker(RubberduckUI.TodoMarkerTodo);
            var bug  = new ToDoMarker(RubberduckUI.TodoMarkerBug);

            ToDoMarkers = new[] { note, todo, bug };
        }
Пример #4
0
        public ToDoMarker[] GetDefaultTodoMarkers()
        {
            var note = new ToDoMarker(RubberduckUI.ToDoMarkerNote, TodoPriority.Low);
            var todo = new ToDoMarker(RubberduckUI.ToDoMarkerToDo, TodoPriority.Medium);
            var bug  = new ToDoMarker(RubberduckUI.ToDoMarkerBug, TodoPriority.High);

            return(new[] { note, todo, bug });
        }
Пример #5
0
 public ToDoListSettings(ToDoMarker[] markers)
 {
     ToDoMarkers = markers;
 }