Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ILoadableService.cs
2
4{
8 [DefaultImplementation(typeof(LoadableService))]
9 public interface ILoadableService
10 {
16 Task Load(bool isResuming, CancellationToken cancellationToken);
17
21 Task Unload();
22
26 event EventHandler<LoadedEventArgs> Loaded;
27 }
28}
A service that can be loaded and unloaded at will. Typically during startup and shutdown of an applic...
Task Load(bool isResuming, CancellationToken cancellationToken)
Loads the specified service.
EventHandler< LoadedEventArgs > Loaded
Fires whenever the loading state of the service changes.
Task Unload()
Unloads the specified service.