Update README.md

This commit is contained in:
Stoyan Zlatev
2023-06-05 07:47:36 +00:00
parent 59e7e1af01
commit 33104bdca3
+1 -1
View File
@@ -1,7 +1,7 @@
Genesis Toolbox
---
1. **Application state** - is handled by the class [ApplicationState.cs](https://slm.sms-esaap.com/la_operations/laa_production/-/blob/main/Common/Ui/GenesisToolBox/Infrastructure/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. **Application state** - is handled by the class [ApplicationState.cs](https://slm.sms-esaap.com/la_operations/laa_production/-/blob/main/Common/Ui/GenesisToolBox/Infrastructure/ApplicationState.cs). `ApplicationState.Initialize();` is called at the start of the application before any other application initialization. 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.
1. `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.