1.1 KiB
1.1 KiB
Genesis Toolbox
-
Application state - is handled by the class ApplicationState.cs.
ApplicationState.Initialize();should be called at the start of the application. Once initialized can be used elsewhere in the app. Currently holds info about:ApplicationState.Id- is loaded on initialization calling a web service where the full assembly name is sent in order to get the app id. It is valid sofar it is greater than 0 else the app can not continue to its content.ApplicationState.Initialized- shows previosly mentioned state of the application id. Solong theId > 0application is initialized and users cann sign in into their local accounts. Each user has a set of allowed software functions as roles that the user cann access and use.ApplicationState.IsAuthorized- simply indicates that the user has a valid account and has verified it with a valid password. After successfull sign in the user's software functions are loaded from a web service.