Files
laatzen/Common/Ui/GenesisToolBox/README.md
T
2023-06-05 07:11:32 +00:00

1.1 KiB

Genesis Toolbox

  1. 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:

    1. 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.
    2. ApplicationState.Initialized - shows previosly mentioned state of the application id. Solong the Id > 0 application 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.
    3. 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.