monster commit for zoo flow, prepare migration of cw

This commit is contained in:
Jonathan Jenne
2019-09-12 17:06:14 +02:00
parent 13da64c6ad
commit 6b955569f6
88 changed files with 3001 additions and 130 deletions

View File

@@ -0,0 +1,28 @@
Imports System.Threading
Namespace State
''' <summary>
''' Helper Class to hold User State
''' </summary>
Public Class UserState
Public Property UserId As Integer
Public Property UserName As String
Public Property Surname As String
Public Property GivenName As String
Public Property ShortName As String
Public Property Email As String
Public Property MachineName As String
Public Property DateFormat As String
Public Property Language As String
''' <summary>
''' Initialize user object with values that can be read from the environment
''' </summary>
Public Sub New()
Language = Thread.CurrentThread.CurrentCulture.Name
UserName = System.Environment.UserName
MachineName = System.Environment.MachineName
End Sub
End Class
End Namespace