Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ISystemConfiguration.cs
1using System;
2using System.Threading.Tasks;
4
6{
12 public interface ISystemConfiguration
13 {
18 {
19 get;
20 set;
21 }
22
26 DateTime Created
27 {
28 get;
29 set;
30 }
31
35 DateTime Updated
36 {
37 get;
38 set;
39 }
40
44 DateTime Completed
45 {
46 get;
47 set;
48 }
49
53 string Resource
54 {
55 get;
56 }
57
62 {
63 get;
64 }
65
71
76
81 Task InitSetup(HttpServer WebServer);
82
87 Task UnregisterSetup(HttpServer WebServer);
88
94 Task<bool> SetupConfiguration(HttpServer WebServer);
95
101
107
113
114 }
115}
Implements an HTTP server.
Definition: HttpServer.cs:36
Interface for system configurations. The gateway will scan all module for system configuration classe...
Task ConfigureSystem()
Is called during startup to configure the system.
Task UnregisterSetup(HttpServer WebServer)
Unregisters the setup object.
DateTime Created
When the object was created.
string Resource
Resource to be redirected to, to perform the configuration.
void SetStaticInstance(ISystemConfiguration Configuration)
Sets the static instance of the configuration.
Task InitSetup(HttpServer WebServer)
Initializes the setup object.
Task< bool > EnvironmentConfiguration()
Environment configuration by configuring values available in environment variables.
Task CleanupAfterConfiguration(HttpServer WebServer)
Cleans up after configuration has been performed.
DateTime Completed
When the configuration was completed.
Task< bool > SimplifiedConfiguration()
Simplified configuration by configuring simple default values.
DateTime Updated
When the object was updated.
int Priority
Priority of the setting. Configurations are sorted in ascending order.
bool Complete
If the configuration is complete.
Task< bool > SetupConfiguration(HttpServer WebServer)
Waits for the user to provide configuration.