Modules/EDMI_ClientSuite/MyApplication.vb
2019-02-14 15:15:42 +01:00

37 lines
999 B
VB.net

Imports System.ServiceModel
Imports System.Threading
Imports DigitalData.Modules.Config
Imports DigitalData.Modules.Logging
Imports EDMI_ClientSuite.NetworkService_DDEDM
Namespace My
''' <summary>
''' Extends the My Namespace
''' Example: My.LogConfig
''' </summary>
<HideModuleName()>
Module Extension
Property ConfigManager As ConfigManager(Of ClassConfig)
ReadOnly Property Config As ClassConfig
Get
Return ConfigManager.Config
End Get
End Property
Property LogConfig As LogConfig
Property ChannelFactory As ChannelFactory(Of IEDMServiceChannel)
Property Channel As IEDMServiceChannel
Property MainForm As frmMain
End Module
''' <summary>
''' Extends the My.Application Namespace
''' Example: My.Application.User
''' </summary>
Partial Class MyApplication
' User Config
Public User As New UserState()
End Class
End Namespace