-
Notifications
You must be signed in to change notification settings - Fork 1
/
Issues.vb
77 lines (56 loc) · 1.65 KB
/
Issues.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Imports DevExpress.Mvvm.DataAnnotations
Imports System.Collections.Generic
Imports System.ComponentModel
Namespace CollectionEditorEvents
Public Class IssueView
Private _Issues As IssueList
Public Property ProductName As String
<RefreshProperties(RefreshProperties.All)>
Public Property UserName As String
<NewItemInstanceInitializer(GetType(Bug))>
<NewItemInstanceInitializer(GetType(Question))>
<NewItemInstanceInitializer(GetType(BreakingChange))>
Public Property Issues As IssueList
Get
Return _Issues
End Get
Friend Set(ByVal value As IssueList)
_Issues = value
End Set
End Property
End Class
Public MustInherit Class Issue
Public Property Header As String
<NotifyParentProperty(True)>
Public Property Owner As String
End Class
Public Enum Severity
Minor
Moderate
Severe
End Enum
Public Class Bug
Inherits Issue
Public Property Severity As Severity
Public Property Assignee As String
End Class
Public Class Question
Inherits Issue
Public Property Assignee As String
End Class
Public Enum ChangeType
APIChange
UIChange
BehaviorChange
End Enum
Public Class BreakingChange
Inherits Issue
Public Property ChangeType As ChangeType
End Class
Public Class IssueList
Inherits List(Of Issue)
Public Overrides Function ToString() As String
Return "Issues"
End Function
End Class
End Namespace