-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStringReader.cls
More file actions
37 lines (30 loc) · 901 Bytes
/
StringReader.cls
File metadata and controls
37 lines (30 loc) · 901 Bytes
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
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "StringReader"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'@Exposed
'@Folder("JSON.DataReaders")
Option Explicit
Implements IReader
Private Const ModuleName As String = "StringReader"
Private Type TData
Data As String
End Type
Private This As TData
Friend Sub Create(ByVal Data As String)
Const FunctionName As String = "Create"
Dim ErrorLogger As ErrorLogger
Set ErrorLogger = Factory.CreateErrorLogger(ModuleName, FunctionName)
This.Data = Data
End Sub
Private Function IReader_Execute() As String
Const FunctionName As String = "IReader_Execute"
Dim ErrorLogger As ErrorLogger
Set ErrorLogger = Factory.CreateErrorLogger(ModuleName, FunctionName)
IReader_Execute = This.Data
End Function