clean up config

This commit is contained in:
Jonathan Jenne
2020-12-17 13:39:52 +01:00
parent 4a081ed65e
commit 2f4b8afd67
4 changed files with 14 additions and 7 deletions

View File

@@ -20,7 +20,6 @@ Public Class ConfigManager(Of T)
Private ReadOnly _AppConfigDirectory As String
Private ReadOnly _AppConfigPath As String
Private ReadOnly _TestMode As Boolean = False
Private ReadOnly _Blueprint As T
@@ -29,7 +28,7 @@ Public Class ConfigManager(Of T)
Private ReadOnly _ExcludedAttributes = New List(Of Type) From {
GetType(ConnectionStringAttribute),
GetType(ConnectionStringAppServer),
GetType(ConnectionStringAppServerAttribute),
GetType(ConnectionStringTestAttribute),
GetType(GlobalSettingAttribute)
}
@@ -66,7 +65,7 @@ Public Class ConfigManager(Of T)
End Property
''' <summary>
''' Path to the current computer config. Maybe the same as `UserConfigPath`
''' Path to the current computer config.
''' </summary>
''' <returns></returns>
Public ReadOnly Property ComputerConfigPath As String
@@ -74,6 +73,11 @@ Public Class ConfigManager(Of T)
Return _ComputerConfigPath
End Get
End Property
''' <summary>
''' Path to the current Application config.
''' </summary>
''' <returns></returns>
Public ReadOnly Property AppConfigPath As String
Get
Return _AppConfigPath