SQLEditor: lots of stuff

This commit is contained in:
Jonathan Jenne
2022-05-05 16:34:56 +02:00
parent 6a2bd3eabe
commit 02f61b1e3f
14 changed files with 506 additions and 118 deletions

View File

@@ -0,0 +1,45 @@
Imports DigitalData.Modules.Patterns
Public Class Placeholder
''' <summary>
''' The internal Category of the placeholder, ie. the INT Part of {#INT#USERNAME}
''' </summary>
Public Property [Module] As String
''' <summary>
''' The internal Name of the placeholder, ie. the USERNAME Part of {#INT#USERNAME}
''' </summary>
Public Property Name As String
''' <summary>
''' The Value that this palceholder is replaced by, user entry.
''' </summary>
''' <returns></returns>
Public Property Value As String
''' <summary>
''' The internal pattern object
''' </summary>
''' <returns></returns>
Public Property Pattern As Pattern
Public Title As String
Public Description As String
Public Enum PlaceholderType
FileFlow
End Enum
Public Sub New(pTitle As String, pDescription As String, pModule As String, pName As String)
Title = pTitle
Description = pDescription
Name = pName
[Module] = pModule
End Sub
Public Overrides Function Equals(obj As Object) As Boolean
Return DirectCast(obj, Placeholder).Module = [Module] And
DirectCast(obj, Placeholder).Name = Name
End Function
End Class