PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Source Code/SongDatabase/Export and Import/BaseImport.vb

#
Visual Basic | 27 lines | 9 code | 7 blank | 11 comment | 0 complexity | 498fd038aafb185650afdf8f3037a263 MD5 | raw file
 1Namespace ExportImport
 2
 3    ''' <summary>
 4    ''' The base class from which all custom data importers must derive.
 5    ''' </summary>
 6    Public MustInherit Class BaseImport
 7
 8        Friend Property Database As Database = Nothing
 9
10        ''' <summary>
11        ''' Initializes a new instance of the <see cref="BaseImport" /> class.
12        ''' </summary>
13        ''' <param name="database">The database.</param>
14        Public Sub New(ByVal database As Database)
15            Me.Database = database
16        End Sub
17
18        ''' <summary>
19        ''' Imports the data contained at the specified source folder location into the PowerSong database.
20        ''' </summary>
21        ''' <param name="sourceFolderLocation">The source folder location.</param>
22        Public MustOverride Sub Import(ByVal sourceFolderLocation As String)
23
24        
25    End Class
26
27End Namespace