File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Xml . Serialization ;
3- using Rubberduck . ToDoItems ;
4- using Rubberduck . UI ;
53
64namespace Rubberduck . Settings
75{
@@ -17,6 +15,10 @@ public class ToDoMarker : IToDoMarker
1715 [ XmlAttribute ]
1816 public string Text { get ; set ; }
1917
18+ [ Obsolete ]
19+ [ XmlIgnore ]
20+ public TodoPriority Priority { get ; set ; }
21+
2022 /// <summary> Default constructor is required for serialization. DO NOT USE. </summary>
2123 public ToDoMarker ( )
2224 {
@@ -28,6 +30,11 @@ public ToDoMarker(string text)
2830 Text = text ;
2931 }
3032
33+ [ Obsolete ]
34+ public ToDoMarker ( string text , TodoPriority priority ) : this ( text )
35+ {
36+ }
37+
3138 /// <summary> Convert this object into a string representation. Over-riden for easy databinding.</summary>
3239 /// <returns> The Text property. </returns>
3340 public override string ToString ( )
@@ -49,4 +56,9 @@ public override int GetHashCode()
4956 return Text . GetHashCode ( ) ;
5057 }
5158 }
59+
60+ public enum TodoPriority
61+ {
62+ Low , Medium , High
63+ }
5264}
You can’t perform that action at this time.
0 commit comments