Patterns: WIP Patterns version 2
This commit is contained in:
13
Modules.Patterns/Pattern.vb
Normal file
13
Modules.Patterns/Pattern.vb
Normal file
@@ -0,0 +1,13 @@
|
||||
Public Class Pattern
|
||||
Public ReadOnly Property Type As String
|
||||
Public ReadOnly Property Value As String
|
||||
|
||||
Public Sub New(pType As String, pValue As String)
|
||||
Me.Type = pType
|
||||
Me.Value = pValue
|
||||
End Sub
|
||||
|
||||
Public Overrides Function ToString() As String
|
||||
Return $"{{#{Type}#{Value}}}"
|
||||
End Function
|
||||
End Class
|
||||
Reference in New Issue
Block a user