EDMI Service: WIP
This commit is contained in:
@@ -17,14 +17,21 @@ Public Class Path
|
||||
End Sub
|
||||
|
||||
Public Function GetActivePath(DocumentType As String)
|
||||
Dim oPathParts As New List(Of String) From {_BasePath, PATH_EDMI, PATH_ACTIVE, DocumentType}
|
||||
oPathParts.AddRange(GetDatePath())
|
||||
Dim oPathParts As New List(Of String) From {_BasePath, PATH_EDMI, PATH_ACTIVE}
|
||||
oPathParts.AddRange(GetRelativePath(DocumentType))
|
||||
|
||||
Return IO.Path.Combine(oPathParts.ToArray())
|
||||
End Function
|
||||
|
||||
Public Function GetArchivePath(DocumentType As String)
|
||||
Dim oPathParts As New List(Of String) From {_BasePath, PATH_EDMI, PATH_ARCHIVE, DocumentType}
|
||||
Dim oPathParts As New List(Of String) From {_BasePath, PATH_EDMI, PATH_ARCHIVE}
|
||||
oPathParts.AddRange(GetRelativePath(DocumentType))
|
||||
|
||||
Return IO.Path.Combine(oPathParts.ToArray())
|
||||
End Function
|
||||
|
||||
Public Function GetRelativePath(DocumentType As String)
|
||||
Dim oPathParts As New List(Of String) From {DocumentType}
|
||||
oPathParts.AddRange(GetDatePath())
|
||||
|
||||
Return IO.Path.Combine(oPathParts.ToArray())
|
||||
|
||||
Reference in New Issue
Block a user