This commit is contained in:
Jonathan Jenne
2019-01-23 17:22:13 +01:00
parent 1ed569f7b0
commit 94376068d6
10 changed files with 149 additions and 93 deletions

View File

@@ -0,0 +1,38 @@
Imports System.ServiceModel
Imports DigitalData.Modules.Logging
Imports EDMI_ClientSuite.NetworkService_DDEDM
Namespace My
''' <summary>
''' Helper Class to hold User State
''' </summary>
Public Class User
Public Username As String
Public MachineName As String
Public Sub New()
Username = Environment.UserName
MachineName = Environment.MachineName
End Sub
End Class
''' <summary>
''' Extends the My Namespace
''' </summary>
<HideModuleName()>
Module Extension
Property LogConfig As LogConfig
Property ChannelFactory As ChannelFactory(Of IEDMServiceChannel)
Property Channel As IEDMServiceChannel
End Module
''' <summary>
''' Extends the My.Application Namespace
''' </summary>
Partial Class MyApplication
' User Config
Public User As New User()
End Class
End Namespace